ConfigurationSetEventDestinationOptions

class aws_cdk.aws_ses.ConfigurationSetEventDestinationOptions(*, destination, configuration_set_event_destination_name=None, enabled=None, events=None)

Bases: object

Options for a configuration set event destination.

Parameters:
  • destination (EventDestination) – The event destination.

  • configuration_set_event_destination_name (Optional[str]) – A name for the configuration set event destination. Default: - a CloudFormation generated name

  • enabled (Optional[bool]) – Whether Amazon SES publishes events to this destination. Default: true

  • events (Optional[Sequence[EmailSendingEvent]]) – The type of email sending events to publish to the event destination. Default: - send all event types

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

configuration_set_event_destination_name

A name for the configuration set event destination.

Default:
  • a CloudFormation generated name

destination

The event destination.

enabled

Whether Amazon SES publishes events to this destination.

Default:

true

events

The type of email sending events to publish to the event destination.

Default:
  • send all event types