Function Pragmas
Pragmas are used to change the default processing behavior of the LambdaSharp CLI. They are generally only required for very specific situations.
Pragma | Definition |
---|---|
no-assembly-validation |
Don't validate that the LambdaSharp assemblies referenced by the .csproj file are consistent with the CLI version (only works for C# projects) |
no-dead-letter-queue |
Don't add the LambdaSharp Dead-Letter Queue to the function |
no-registration |
Don't create a function registration |
no-handler-validation |
Don't validate if the Lambda function handler can be found in the compiled assembly |
no-wildcard-scoped-variables |
Don't include function in wildcard (* ) scopes |
Examples
A Lambda function with pragmas
- Function: MyFunction
Memory: 128
Timeout: 15
Pragmas:
- no-dead-letter-queue