This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::SES::MailManagerRuleSet InvokeLambdaAction
The action to invoke an AWS Lambda function for processing the email.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "ActionFailurePolicy" :String, "FunctionArn" :String, "InvocationType" :String, "RetryTimeMinutes" :Integer, "RoleArn" :String}
YAML
ActionFailurePolicy:StringFunctionArn:StringInvocationType:StringRetryTimeMinutes:IntegerRoleArn:String
Properties
ActionFailurePolicy-
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the AWS Lambda function no longer exists.
Required: No
Type: String
Allowed values:
CONTINUE | DROPUpdate requires: No interruption
FunctionArn-
The Amazon Resource Name (ARN) of the Lambda function to invoke.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9:_/+=,@.#-]+$Minimum:
20Maximum:
2048Update requires: No interruption
InvocationType-
The invocation type of the Lambda function. Use EVENT for asynchronous invocation or REQUEST_RESPONSE for synchronous invocation.
Required: Yes
Type: String
Allowed values:
EVENT | REQUEST_RESPONSEUpdate requires: No interruption
RetryTimeMinutes-
The maximum time in minutes that the email processing can be retried if the Lambda invocation fails. The maximum value is 2160 minutes (36 hours).
Required: No
Type: Integer
Minimum:
0Maximum:
2160Update requires: No interruption
RoleArn-
The Amazon Resource Name (ARN) of the IAM role to use to invoke the Lambda function.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9:_/+=,@.#-]+$Minimum:
20Maximum:
2048Update requires: No interruption