Skip to content
v2.278.0

SnsDestinationProperty Struct ​

Contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.

Event destinations, such as Amazon SNS, are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide .

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 snsDestinationProperty: ses.CfnConfigurationSetEventDestination.SnsDestinationProperty = {
  topicArn: 'topicArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses

sns_destination_property = ses.CfnConfigurationSetEventDestination.SnsDestinationProperty(
    topic_arn="topicArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;

SnsDestinationProperty snsDestinationProperty = SnsDestinationProperty.builder()
        .topicArn("topicArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 snsDestinationProperty = new SnsDestinationProperty {
    TopicArn = "topicArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

snsDestinationProperty := &SnsDestinationProperty{
	TopicArn: jsii.String("topicArn"),
}

Properties ​

topicArnstringtopic_arnstrtopicArnStringTopicArnstringTopicArn*string required #
The ARN of the Amazon SNS topic for email sending events.
notes

You can find the ARN of a topic by using the ListTopics Amazon SNS operation.

For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .