ConfigurationSetEventDestinationProps

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

Bases: ConfigurationSetEventDestinationOptions

Properties 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

  • configuration_set (IConfigurationSet) – The configuration set that contains the event destination.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses

# configuration_set: ses.ConfigurationSet
# event_destination: ses.EventDestination

configuration_set_event_destination_props = ses.ConfigurationSetEventDestinationProps(
    configuration_set=configuration_set,
    destination=event_destination,

    # the properties below are optional
    configuration_set_event_destination_name="configurationSetEventDestinationName",
    enabled=False,
    events=[ses.EmailSendingEvent.SEND]
)

Attributes

configuration_set

The configuration set that contains the event destination.

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