aws-cdk-lib.aws_ses_actions.BounceTemplateProps

interface BounceTemplateProps

LanguageType name
.NETAmazon.CDK.AWS.SES.Actions.BounceTemplateProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssesactions#BounceTemplateProps
Javasoftware.amazon.awscdk.services.ses.actions.BounceTemplateProps
Pythonaws_cdk.aws_ses_actions.BounceTemplateProps
TypeScript (source)aws-cdk-lib » aws_ses_actions » BounceTemplateProps

Construction properties for a BounceTemplate.

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';
const bounceTemplateProps: ses_actions.BounceTemplateProps = {
  message: 'message',
  smtpReplyCode: 'smtpReplyCode',

  // the properties below are optional
  statusCode: 'statusCode',
};

Properties

NameTypeDescription
messagestringHuman-readable text to include in the bounce message.
smtpReplyCodestringThe SMTP reply code, as defined by RFC 5321.
statusCode?stringThe SMTP enhanced status code, as defined by RFC 3463.

message

Type: string

Human-readable text to include in the bounce message.


smtpReplyCode

Type: string

The SMTP reply code, as defined by RFC 5321.

See also: https://tools.ietf.org/html/rfc5321


statusCode?

Type: string (optional)

The SMTP enhanced status code, as defined by RFC 3463.

See also: https://tools.ietf.org/html/rfc3463