Class CfnConfigurationSetEventDestination
A CloudFormation AWS::SES::ConfigurationSetEventDestination
.
Inheritance
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.AWS.SES.dll
Syntax (csharp)
public class CfnConfigurationSetEventDestination : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnConfigurationSetEventDestination
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a configuration set event destination. An event destination is an AWS service that Amazon SES publishes email sending events to. When you specify an event destination, you provide one, and only one, destination. You can send event data to Amazon CloudWatch, Amazon Kinesis Data Firehose, or Amazon Simple Notification Service (Amazon SNS).
CloudformationResource: AWS::SES::ConfigurationSetEventDestination
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 cfnConfigurationSetEventDestination = new CfnConfigurationSetEventDestination(this, "MyCfnConfigurationSetEventDestination", new CfnConfigurationSetEventDestinationProps {
ConfigurationSetName = "configurationSetName",
EventDestination = 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
CfnConfigurationSetEventDestination(Construct, String, ICfnConfigurationSetEventDestinationProps) | Create a new |
CfnConfigurationSetEventDestination(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnConfigurationSetEventDestination(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrId | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConfigurationSetName | The name of the configuration set that contains the event destination. |
EventDestination | The event destination object. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnConfigurationSetEventDestination(Construct, String, ICfnConfigurationSetEventDestinationProps)
Create a new AWS::SES::ConfigurationSetEventDestination
.
public CfnConfigurationSetEventDestination(Construct scope, string id, ICfnConfigurationSetEventDestinationProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnConfigurationSetEventDestinationProps
- resource properties.
CfnConfigurationSetEventDestination(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnConfigurationSetEventDestination(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnConfigurationSetEventDestination(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnConfigurationSetEventDestination(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ConfigurationSetName
The name of the configuration set that contains the event destination.
public virtual string ConfigurationSetName { get; set; }
Property Value
System.String
Remarks
EventDestination
The event destination object.
public virtual object EventDestination { get; set; }
Property Value
System.Object
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>