InvokeLambdaAction
The action to invoke an AWS Lambda function for processing the email.
Contents
- FunctionArn
-
The Amazon Resource Name (ARN) of the Lambda function to invoke.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Pattern:
[a-zA-Z0-9:_/+=,@.#-]+Required: Yes
- InvocationType
-
The invocation type of the Lambda function. Use EVENT for asynchronous invocation or REQUEST_RESPONSE for synchronous invocation.
Type: String
Valid Values:
EVENT | REQUEST_RESPONSERequired: Yes
- RoleArn
-
The Amazon Resource Name (ARN) of the IAM role to use to invoke the Lambda function.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Pattern:
[a-zA-Z0-9:_/+=,@.#-]+Required: Yes
- 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.
Type: String
Valid Values:
CONTINUE | DROPRequired: No
- 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).
Type: Integer
Valid Range: Minimum value of 0. Maximum value of 2160.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: