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:

import aws_cdk.aws_events as events

# my_configuration_set: ses.ConfigurationSet


bus = events.EventBus.from_event_bus_name(self, "EventBus", "default")

my_configuration_set.add_event_destination("ToEventBus",
    destination=ses.EventDestination.event_bus(bus)
)

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