Class CfnConfigurationSetEventDestination.EventDestinationProperty
In the Amazon SES API v2, events include message sends, deliveries, opens, clicks, bounces, complaints and delivery delays.
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnConfigurationSetEventDestination.EventDestinationProperty : CfnConfigurationSetEventDestination.IEventDestinationProperty
Syntax (vb)
Public Class CfnConfigurationSetEventDestination.EventDestinationProperty Implements 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
Constructors
EventDestinationProperty() | In the Amazon SES API v2, events include message sends, deliveries, opens, clicks, bounces, complaints and delivery delays. |
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. |
Constructors
EventDestinationProperty()
In the Amazon SES API v2, events include message sends, deliveries, opens, clicks, bounces, complaints and delivery delays.
public EventDestinationProperty()
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"
}
};
Properties
CloudWatchDestination
An object that defines an Amazon CloudWatch destination for email events.
public object? CloudWatchDestination { get; set; }
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.
public object? Enabled { get; set; }
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.
public object? EventBridgeDestination { get; set; }
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.
public object? KinesisFirehoseDestination { get; set; }
Property Value
Remarks
MatchingEventTypes
The types of events that Amazon SES sends to the specified event destinations.
public string[] MatchingEventTypes { get; set; }
Property Value
string[]
Remarks
Name
The name of the event destination. The name must meet the following requirements:.
public string? Name { get; set; }
Property Value
Remarks
SnsDestination
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
public object? SnsDestination { get; set; }