aws-cdk-lib.aws_ses.EventDestination

class EventDestination

LanguageType name
.NETAmazon.CDK.AWS.SES.EventDestination
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsses#EventDestination
Javasoftware.amazon.awscdk.services.ses.EventDestination
Pythonaws_cdk.aws_ses.EventDestination
TypeScript (source)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

NameTypeDescription
dimensions?CloudWatchDimension[]A list of CloudWatch dimensions upon which to categorize your emails.
topic?ITopicA SNS topic to use as event destination.

dimensions?

Type: CloudWatchDimension[] (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

NameDescription
static cloudWatchDimensions(dimensions)Use CloudWatch dimensions as event destination.
static snsTopic(topic)Use a SNS topic as event destination.

static cloudWatchDimensions(dimensions)

public static cloudWatchDimensions(dimensions: CloudWatchDimension[]): EventDestination

Parameters

  • dimensions CloudWatchDimension[]

Returns

  • EventDestination

Use CloudWatch dimensions as event destination.


static snsTopic(topic)

public static snsTopic(topic: ITopic): EventDestination

Parameters

  • topic ITopic

Returns

  • EventDestination

Use a SNS topic as event destination.