interface BounceActionConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SES.BounceActionConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsses#BounceActionConfig |
Java | software.amazon.awscdk.services.ses.BounceActionConfig |
Python | aws_cdk.aws_ses.BounceActionConfig |
TypeScript (source) | aws-cdk-lib » aws_ses » BounceActionConfig |
BoundAction configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const bounceActionConfig: ses.BounceActionConfig = {
message: 'message',
sender: 'sender',
smtpReplyCode: 'smtpReplyCode',
// the properties below are optional
statusCode: 'statusCode',
topicArn: 'topicArn',
};
Properties
Name | Type | Description |
---|---|---|
message | string | Human-readable text to include in the bounce message. |
sender | string | The email address of the sender of the bounced email. |
smtp | string | The SMTP reply code, as defined by RFC 5321. |
status | string | The SMTP enhanced status code, as defined by RFC 3463. |
topic | string | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. |
message
Type:
string
Human-readable text to include in the bounce message.
sender
Type:
string
The email address of the sender of the bounced email.
This is the address that the bounce message is sent from.
smtpReplyCode
Type:
string
The SMTP reply code, as defined by RFC 5321.
statusCode?
Type:
string
(optional, default: No status code.)
The SMTP enhanced status code, as defined by RFC 3463.
topicArn?
Type:
string
(optional, default: No notification is sent to SNS.)
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken.