@Stability(value=Stable)
public static interface CfnReceiptRule.BounceActionProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getMessage()
Human-readable text to include in the bounce message.
|
String |
getSender()
The email address of the sender of the bounced email.
|
String |
getSmtpReplyCode()
The SMTP reply code, as defined by [RFC 5321](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc5321) .
|
default String |
getStatusCode()
The SMTP enhanced status code, as defined by [RFC 3463](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc3463) .
|
default String |
getTopicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken.
|
@Stability(value=Stable) @NotNull String getMessage()
@Stability(value=Stable) @NotNull String getSender()
This is the address from which the bounce message is sent.
@Stability(value=Stable) @NotNull String getSmtpReplyCode()
@Stability(value=Stable) @Nullable default String getStatusCode()
@Stability(value=Stable) @Nullable default 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 .
@Stability(value=Stable) static CfnReceiptRule.BounceActionProperty.Builder builder()
Copyright © 2022. All rights reserved.