AWS::SES::MailManagerRuleSet InvokeLambdaAction - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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: String FunctionArn: String InvocationType: String RetryTimeMinutes: Integer RoleArn: 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 | DROP

Update 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: 20

Maximum: 2048

Update 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_RESPONSE

Update 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: 0

Maximum: 2160

Update 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: 20

Maximum: 2048

Update requires: No interruption