public static interface CfnConfigurationSetEventDestination.EventDestinationProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnConfigurationSetEventDestination.EventDestinationProperty.Builder
|
static class |
CfnConfigurationSetEventDestination.EventDestinationProperty.Jsii$Proxy
An implementation for
CfnConfigurationSetEventDestination.EventDestinationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnConfigurationSetEventDestination.EventDestinationProperty.Builder |
builder() |
default java.lang.Object |
getCloudWatchDestination()
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
|
default java.lang.Object |
getEnabled()
Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set.
|
default java.lang.Object |
getKinesisFirehoseDestination()
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
|
java.util.List<java.lang.String> |
getMatchingEventTypes()
The type of email sending events to publish to the event destination.
|
default java.lang.String |
getName()
The name of the event destination.
|
default java.lang.Object |
getSnsDestination()
`CfnConfigurationSetEventDestination.EventDestinationProperty.SnsDestination`.
|
java.util.List<java.lang.String> getMatchingEventTypes()
send
- The call was successful and Amazon SES is attempting to deliver the email.reject
- Amazon SES determined that the email contained a virus and rejected it.bounce
- The recipient's mail server permanently rejected the email. This corresponds to a hard bounce.complaint
- The recipient marked the email as spam.delivery
- Amazon SES successfully delivered the email to the recipient's mail server.open
- The recipient received the email and opened it in their email client.click
- The recipient clicked one or more links in the email.renderingFailure
- Amazon SES did not send the email because of a template rendering issue.default java.lang.Object getCloudWatchDestination()
default java.lang.Object getEnabled()
Set to true
to enable publishing to this destination; set to false
to prevent publishing to this destination. The default value is false
.
default java.lang.Object getKinesisFirehoseDestination()
default java.lang.String getName()
default java.lang.Object getSnsDestination()