ConfigurationSetEventDestinationOptions Struct
Options for a configuration set event destination.
Example
ts
import * as events from 'aws-cdk-lib/aws-events';
declare const myConfigurationSet: ses.ConfigurationSet;
const bus = events.EventBus.fromEventBusName(this, 'EventBus', 'default');
myConfigurationSet.addEventDestination('ToEventBus', {
destination: ses.EventDestination.eventBus(bus),
})
Properties
configurationSetEventDestinationNameoptionalstringconfiguration_set_event_destination_nameoptionalstrconfigurationSetEventDestinationNameoptionalStringConfigurationSetEventDestinationNameoptionalstringConfigurationSetEventDestinationNameoptional*string#A name for the configuration set event destination.
Default: a CloudFormation generated name
destinationEventDestinationdestinationEventDestinationdestinationEventDestinationDestinationEventDestinationDestinationEventDestinationrequired#The event destination.
enabledoptionalbooleanenabledoptionalboolenabledoptionalBooleanEnabledoptionalboolEnabledoptional*bool= true#Whether Amazon SES publishes events to this destination.
eventsoptionalEmailSendingEvent[]eventsoptionaltyping.List[EmailSendingEvent]eventsoptionalList<EmailSendingEvent>EventsoptionalEmailSendingEvent[]Eventsoptional*[]EmailSendingEvent#The type of email sending events to publish to the event destination.
Default: send all event types