interface BounceProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SES.Actions.BounceProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssesactions#BounceProps |
Java | software.amazon.awscdk.services.ses.actions.BounceProps |
Python | aws_cdk.aws_ses_actions.BounceProps |
TypeScript (source) | aws-cdk-lib » aws_ses_actions » BounceProps |
Construction properties for a bounce action.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses_actions as ses_actions } from 'aws-cdk-lib';
import { aws_sns as sns } from 'aws-cdk-lib';
declare const bounceTemplate: ses_actions.BounceTemplate;
declare const topic: sns.Topic;
const bounceProps: ses_actions.BounceProps = {
sender: 'sender',
template: bounceTemplate,
// the properties below are optional
topic: topic,
};
Properties
Name | Type | Description |
---|---|---|
sender | string | The email address of the sender of the bounced email. |
template | Bounce | The template containing the message, reply code and status code. |
topic? | ITopic | The SNS topic to notify when the bounce action is taken. |
sender
Type:
string
The email address of the sender of the bounced email.
This is the address from which the bounce message will be sent.
template
Type:
Bounce
The template containing the message, reply code and status code.
topic?
Type:
ITopic
(optional, default: no notification)
The SNS topic to notify when the bounce action is taken.