interface SNSActionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SES.CfnReceiptRule.SNSActionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnReceiptRule_SNSActionProperty |
![]() | software.amazon.awscdk.services.ses.CfnReceiptRule.SNSActionProperty |
![]() | aws_cdk.aws_ses.CfnReceiptRule.SNSActionProperty |
![]() | aws-cdk-lib » aws_ses » CfnReceiptRule » SNSActionProperty |
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
// 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
Name | Type | Description |
---|---|---|
encoding? | string | The encoding to use for the email within the Amazon SNS notification. |
topic | string | The Amazon Resource Name (ARN) of the Amazon SNS Topic to which notification for the email received will be published. |
encoding?
Type:
string
(optional)
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.
topicArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the Amazon SNS Topic to which notification for the email received will be published.