Class CfnConfigurationSetEventDestination.EventDestinationProperty
Contains information about an event destination.
Inheritance
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EventDestinationProperty : Object, CfnConfigurationSetEventDestination.IEventDestinationProperty
Syntax (vb)
Public Class EventDestinationProperty
Inherits Object
Implements CfnConfigurationSetEventDestination.IEventDestinationProperty
Remarks
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 .
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,
KinesisFirehoseDestination = new KinesisFirehoseDestinationProperty {
DeliveryStreamArn = "deliveryStreamArn",
IamRoleArn = "iamRoleArn"
},
Name = "name",
SnsDestination = new SnsDestinationProperty {
TopicArn = "topicArn"
}
};
Synopsis
Constructors
EventDestinationProperty() |
Properties
CloudWatchDestination | An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination. |
Enabled | Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. |
KinesisFirehoseDestination | An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination. |
MatchingEventTypes | The type of email sending events to publish to the event destination. |
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()
public EventDestinationProperty()
Properties
CloudWatchDestination
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
public object CloudWatchDestination { get; set; }
Property Value
System.Object
Remarks
Enabled
Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set.
public object Enabled { get; set; }
Property Value
System.Object
Remarks
Set to true
to enable publishing to this destination; set to false
to prevent publishing to this destination. The default value is false
.
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
System.Object
Remarks
MatchingEventTypes
The type of email sending events to publish to the event destination.
public string[] MatchingEventTypes { get; set; }
Property Value
System.String[]
Remarks
Name
The name of the event destination. The name must meet the following requirements:.
public string Name { get; set; }
Property Value
System.String
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; }
Property Value
System.Object