interface SNSActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SES.Mixins.CfnReceiptRulePropsMixin.SNSActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsses/mixins#CfnReceiptRulePropsMixin_SNSActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.ses.mixins.CfnReceiptRulePropsMixin.SNSActionProperty |
Python | aws_cdk.mixins_preview.aws_ses.mixins.CfnReceiptRulePropsMixin.SNSActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ses » mixins » 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 { mixins as ses_mixins } from '@aws-cdk/mixins-preview/aws-ses';
const sNSActionProperty: ses_mixins.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