Interface CfnConfigurationSetEventDestination.IEventDestinationProperty
In the Amazon SES API v2, events include message sends, deliveries, opens, clicks, bounces, complaints and delivery delays.
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnConfigurationSetEventDestination.IEventDestinationProperty
Syntax (vb)
Public Interface CfnConfigurationSetEventDestination.IEventDestinationProperty
Remarks
Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var eventDestinationProperty = new EventDestinationProperty {
MatchingEventTypes = new [] { "matchingEventTypes" },
// the properties below are optional
CloudWatchDestination = new CloudWatchDestinationProperty {
DimensionConfigurations = new [] { new DimensionConfigurationProperty {
DefaultDimensionValue = "defaultDimensionValue",
DimensionName = "dimensionName",
DimensionValueSource = "dimensionValueSource"
} }
},
Enabled = false,
EventBridgeDestination = new EventBridgeDestinationProperty {
EventBusArn = "eventBusArn"
},
KinesisFirehoseDestination = new KinesisFirehoseDestinationProperty {
DeliveryStreamArn = "deliveryStreamArn",
IamRoleArn = "iamRoleArn"
},
Name = "name",
SnsDestination = new SnsDestinationProperty {
TopicArn = "topicArn"
}
};
Synopsis
Properties
CloudWatchDestination | An object that defines an Amazon CloudWatch destination for email events. |
Enabled | If |
EventBridgeDestination | An object that defines an Amazon EventBridge destination for email events. |
KinesisFirehoseDestination | An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination. |
MatchingEventTypes | The types of events that Amazon SES sends to the specified event destinations. |
Name | The name of the event destination. The name must meet the following requirements:. |
SnsDestination | An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination. |
Properties
CloudWatchDestination
An object that defines an Amazon CloudWatch destination for email events.
object? CloudWatchDestination { get; }
Property Value
Remarks
You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.
Enabled
If true
, the event destination is enabled.
object? Enabled { get; }
Property Value
Remarks
When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition
.
If false
, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.
EventBridgeDestination
An object that defines an Amazon EventBridge destination for email events.
object? EventBridgeDestination { get; }
Property Value
Remarks
You can use Amazon EventBridge to send notifications when certain email events occur.
KinesisFirehoseDestination
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
object? KinesisFirehoseDestination { get; }
Property Value
Remarks
MatchingEventTypes
The types of events that Amazon SES sends to the specified event destinations.
string[] MatchingEventTypes { get; }
Property Value
string[]
Remarks
Name
The name of the event destination. The name must meet the following requirements:.
string? Name { get; }
Property Value
Remarks
SnsDestination
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
object? SnsDestination { get; }