SNSActionProperty Struct
The action to publish the email content to an Amazon SNS topic.
When executed, this action will send the email as a notification to the specified SNS topic.
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 sNSActionProperty: ses.CfnReceiptRule.SNSActionProperty = {
encoding: 'encoding',
topicArn: 'topicArn',
};
Properties
encodingoptionalstringencodingoptionalstrencodingoptionalStringEncodingoptionalstringEncodingoptional*string#The encoding to use for the email within the Amazon SNS notification.
The default value is UTF-8 . Use BASE64 if you need to preserve all special characters, especially when the original message uses a different encoding format.
topicArnoptionalstringtopic_arnoptionalstrtopicArnoptionalStringTopicArnoptionalstringTopicArnoptional*string#The Amazon Resource Name (ARN) of the Amazon SNS Topic to which notification for the email received will be published.