ConfigurationSetEventDestinationProps Struct
Properties for a configuration set event destination.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
import { aws_ses as interfaces_ses } from 'aws-cdk-lib/interfaces';
declare const configurationSetRef: interfaces_ses.IConfigurationSetRef;
declare const eventDestination: ses.EventDestination;
const configurationSetEventDestinationProps: ses.ConfigurationSetEventDestinationProps = {
configurationSet: configurationSetRef,
destination: eventDestination,
// the properties below are optional
configurationSetEventDestinationName: 'configurationSetEventDestinationName',
enabled: false,
events: [ses.EmailSendingEvent.SEND],
};
python
# 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
from aws_cdk.interfaces import aws_ses as interfaces_ses
# configuration_set_ref: interfaces_ses.IConfigurationSetRef
# event_destination: ses.EventDestination
configuration_set_event_destination_props = ses.ConfigurationSetEventDestinationProps(
configuration_set=configuration_set_ref,
destination=event_destination,
# the properties below are optional
configuration_set_event_destination_name="configurationSetEventDestinationName",
enabled=False,
events=[ses.EmailSendingEvent.SEND]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
import software.amazon.awscdk.interfaces.ses.*;
IConfigurationSetRef configurationSetRef;
EventDestination eventDestination;
ConfigurationSetEventDestinationProps configurationSetEventDestinationProps = ConfigurationSetEventDestinationProps.builder()
.configurationSet(configurationSetRef)
.destination(eventDestination)
// the properties below are optional
.configurationSetEventDestinationName("configurationSetEventDestinationName")
.enabled(false)
.events(List.of(EmailSendingEvent.SEND))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
using Amazon.CDK.Interfaces.SES;
IConfigurationSetRef configurationSetRef;
EventDestination eventDestination;
var configurationSetEventDestinationProps = new ConfigurationSetEventDestinationProps {
ConfigurationSet = configurationSetRef,
Destination = eventDestination,
// the properties below are optional
ConfigurationSetEventDestinationName = "configurationSetEventDestinationName",
Enabled = false,
Events = new [] { EmailSendingEvent.SEND }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
var configurationSetRef IConfigurationSetRef
var eventDestination EventDestination
configurationSetEventDestinationProps := &ConfigurationSetEventDestinationProps{
ConfigurationSet: configurationSetRef,
Destination: eventDestination,
// the properties below are optional
ConfigurationSetEventDestinationName: jsii.String("configurationSetEventDestinationName"),
Enabled: jsii.Boolean(false),
Events: []EmailSendingEvent{
awscdk.Aws_ses.EmailSendingEvent_SEND,
},
}
Properties
configurationSetIConfigurationSetRefconfiguration_setIConfigurationSetRefconfigurationSetIConfigurationSetRefConfigurationSetIConfigurationSetRefConfigurationSetIConfigurationSetRefrequired#The configuration set that contains the event destination.
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