SnsDestinationProperty Struct
An object that defines an Amazon SNS destination for email events.
You can use Amazon SNS to send notification when certain email events occur.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpointemail as pinpointemail } from 'aws-cdk-lib';
const snsDestinationProperty: pinpointemail.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_pinpointemail as pinpointemail
sns_destination_property = pinpointemail.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.pinpointemail.*;
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.PinpointEmail;
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
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email events to.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .