Interface CfnReceiptRule.BounceActionProperty

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

@Stability(Stable) public static interface CfnReceiptRule.BounceActionProperty extends software.amazon.jsii.JsiiSerializable
When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

For information about sending a bounce message in response to a received email, 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.*;
 BounceActionProperty bounceActionProperty = BounceActionProperty.builder()
         .message("message")
         .sender("sender")
         .smtpReplyCode("smtpReplyCode")
         // the properties below are optional
         .statusCode("statusCode")
         .topicArn("topicArn")
         .build();
 

See Also: