aws-cdk-lib.aws_ses_actions.BounceProps

interface BounceProps

LanguageType name
.NETAmazon.CDK.AWS.SES.Actions.BounceProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssesactions#BounceProps
Javasoftware.amazon.awscdk.services.ses.actions.BounceProps
Pythonaws_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

NameTypeDescription
senderstringThe email address of the sender of the bounced email.
templateBounceTemplateThe template containing the message, reply code and status code.
topic?ITopicThe 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: BounceTemplate

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.