class EventDestination
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SES.EventDestination |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsses#EventDestination |
![]() | software.amazon.awscdk.services.ses.EventDestination |
![]() | aws_cdk.aws_ses.EventDestination |
![]() | aws-cdk-lib » aws_ses » EventDestination |
An event destination.
Example
declare const myConfigurationSet: ses.ConfigurationSet;
declare const myTopic: sns.Topic;
myConfigurationSet.addEventDestination('ToSns', {
destination: ses.EventDestination.snsTopic(myTopic),
})
Initializer
new EventDestination()
Properties
Name | Type | Description |
---|---|---|
dimensions? | Cloud [] | A list of CloudWatch dimensions upon which to categorize your emails. |
topic? | ITopic | A SNS topic to use as event destination. |
dimensions?
Type:
Cloud
[]
(optional, default: do not send events to CloudWatch)
A list of CloudWatch dimensions upon which to categorize your emails.
topic?
Type:
ITopic
(optional, default: do not send events to a SNS topic)
A SNS topic to use as event destination.
Methods
Name | Description |
---|---|
static cloud | Use CloudWatch dimensions as event destination. |
static sns | Use a SNS topic as event destination. |
static cloudWatchDimensions(dimensions)
public static cloudWatchDimensions(dimensions: CloudWatchDimension[]): EventDestination
Parameters
- dimensions
Cloud
Watch Dimension []
Returns
Use CloudWatch dimensions as event destination.
static snsTopic(topic)
public static snsTopic(topic: ITopic): EventDestination
Parameters
- topic
ITopic
Returns
Use a SNS topic as event destination.