public static interface CfnReceiptRule.BounceActionProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnReceiptRule.BounceActionProperty.Builder
A builder for
CfnReceiptRule.BounceActionProperty |
static class |
CfnReceiptRule.BounceActionProperty.Jsii$Proxy
An implementation for
CfnReceiptRule.BounceActionProperty |
Modifier and Type | Method and Description |
---|---|
static CfnReceiptRule.BounceActionProperty.Builder |
builder() |
java.lang.String |
getMessage()
Human-readable text to include in the bounce message.
|
java.lang.String |
getSender()
The email address of the sender of the bounced email.
|
java.lang.String |
getSmtpReplyCode()
The SMTP reply code, as defined by [RFC 5321](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc5321) .
|
default java.lang.String |
getStatusCode()
The SMTP enhanced status code, as defined by [RFC 3463](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc3463) .
|
default java.lang.String |
getTopicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken.
|
java.lang.String getMessage()
java.lang.String getSender()
This is the address from which the bounce message is sent.
java.lang.String getSmtpReplyCode()
default java.lang.String getStatusCode()
default java.lang.String getTopicArn()
You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
static CfnReceiptRule.BounceActionProperty.Builder builder()