Skip to content
v2.273.0

SNSActionConfig Struct ​

SNSAction configuration.

Example ​

ts
// 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 sNSActionConfig: ses.SNSActionConfig = {
  encoding: 'encoding',
  topicArn: 'topicArn',
};

Properties ​

encodingstringencodingstrencodingStringEncodingstringEncoding*string= 'UTF-8'#
The encoding to use for the email within the Amazon SNS notification.
topicArnstringtopic_arnstrtopicArnStringTopicArnstringTopicArn*string= No notification is sent to SNS.#
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify.