Interface CfnConfigurationSetEventDestination.EventDestinationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConfigurationSetEventDestination.EventDestinationProperty.Jsii$Proxy
Enclosing class:
CfnConfigurationSetEventDestination

@Stability(Stable) public static interface CfnConfigurationSetEventDestination.EventDestinationProperty extends software.amazon.jsii.JsiiSerializable
Contains information about an event destination.

When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose or Amazon Simple Notification Service (Amazon SNS).

Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see the Amazon SES Developer Guide .

Example:

 // 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.*;
 EventDestinationProperty eventDestinationProperty = EventDestinationProperty.builder()
         .matchingEventTypes(List.of("matchingEventTypes"))
         // the properties below are optional
         .cloudWatchDestination(CloudWatchDestinationProperty.builder()
                 .dimensionConfigurations(List.of(DimensionConfigurationProperty.builder()
                         .defaultDimensionValue("defaultDimensionValue")
                         .dimensionName("dimensionName")
                         .dimensionValueSource("dimensionValueSource")
                         .build()))
                 .build())
         .enabled(false)
         .kinesisFirehoseDestination(KinesisFirehoseDestinationProperty.builder()
                 .deliveryStreamArn("deliveryStreamArn")
                 .iamRoleArn("iamRoleArn")
                 .build())
         .name("name")
         .snsDestination(SnsDestinationProperty.builder()
                 .topicArn("topicArn")
                 .build())
         .build();
 

See Also: