EventDestination

class aws_cdk.aws_ses.EventDestination

Bases: object

An event destination.

ExampleMetadata:

infused

Example:

# my_configuration_set: ses.ConfigurationSet
# my_topic: sns.Topic


my_configuration_set.add_event_destination("ToSns",
    destination=ses.EventDestination.sns_topic(my_topic)
)

Attributes

dimensions

A list of CloudWatch dimensions upon which to categorize your emails.

Default:
  • do not send events to CloudWatch

topic

A SNS topic to use as event destination.

Default:
  • do not send events to a SNS topic

Static Methods

classmethod cloud_watch_dimensions(dimensions)

Use CloudWatch dimensions as event destination.

Parameters:

dimensions (Sequence[Union[CloudWatchDimension, Dict[str, Any]]]) –

Return type:

EventDestination

classmethod sns_topic(topic)

Use a SNS topic as event destination.

Parameters:

topic (ITopic) –

Return type:

EventDestination