interface SNSActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SES.CfnReceiptRulePropsMixin.SNSActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsses#CfnReceiptRulePropsMixin_SNSActionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ses.CfnReceiptRulePropsMixin.SNSActionProperty |
Python | aws_cdk.cfn_property_mixins.aws_ses.CfnReceiptRulePropsMixin.SNSActionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ses » CfnReceiptRulePropsMixin » 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/cfn-property-mixins';
const sNSActionProperty: ses.CfnReceiptRulePropsMixin.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.

.NET
Go
Java
Python
TypeScript