Interface CfnReceiptRule.ISNSActionProperty
The action to publish the email content to an Amazon SNS topic.
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnReceiptRule.ISNSActionProperty
Syntax (vb)
Public Interface CfnReceiptRule.ISNSActionProperty
Remarks
When executed, this action will send the email as a notification to the specified SNS topic.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var sNSActionProperty = new SNSActionProperty {
Encoding = "encoding",
TopicArn = "topicArn"
};
Synopsis
Properties
Encoding | The encoding to use for the email within the Amazon SNS notification. |
TopicArn | The Amazon Resource Name (ARN) of the Amazon SNS Topic to which notification for the email received will be published. |
Properties
Encoding
The encoding to use for the email within the Amazon SNS notification.
string? Encoding { get; }
Property Value
Remarks
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
The Amazon Resource Name (ARN) of the Amazon SNS Topic to which notification for the email received will be published.
string? TopicArn { get; }