Interface CfnReceiptRule.LambdaActionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnReceiptRule.LambdaActionProperty.Jsii$Proxy
Enclosing class:
CfnReceiptRule

@Stability(Stable) public static interface CfnReceiptRule.LambdaActionProperty extends software.amazon.jsii.JsiiSerializable
When included in a receipt rule, this action calls an AWS Lambda function and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

To enable Amazon SES to call your AWS Lambda function or to publish to an Amazon SNS topic of another account, Amazon SES must have permission to access those resources. For information about giving permissions, see the Amazon SES Developer Guide .

For information about using AWS Lambda actions in receipt rules, see the Amazon SES Developer Guide .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ses.*;
 LambdaActionProperty lambdaActionProperty = LambdaActionProperty.builder()
         .functionArn("functionArn")
         // the properties below are optional
         .invocationType("invocationType")
         .topicArn("topicArn")
         .build();
 

See Also: