Skip to content
v2.274.0

BounceProps Struct ​

Construction properties for a bounce action.

Example ​

ts
// 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 ​

senderstringsenderstrsenderStringSenderstringSender*stringrequired#
The email address of the sender of the bounced email.

This is the address from which the bounce message will be sent.

templateBounceTemplatetemplateBounceTemplatetemplateBounceTemplateTemplateBounceTemplateTemplateBounceTemplaterequired#
The template containing the message, reply code and status code.
topicoptionalITopictopicoptionalITopictopicoptionalITopicTopicoptionalITopicTopicoptionalITopic#
The SNS topic to notify when the bounce action is taken.

Default: no notification