Class CfnConfigurationSetEventDestination
A CloudFormation AWS::PinpointEmail::ConfigurationSetEventDestination
.
Inheritance
Inherited Members
Namespace: Amazon.CDK.AWS.PinpointEmail
Assembly: Amazon.CDK.AWS.PinpointEmail.dll
Syntax (csharp)
public class CfnConfigurationSetEventDestination : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnConfigurationSetEventDestination
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Create an event destination. In Amazon Pinpoint, events include message sends, deliveries, opens, clicks, bounces, and complaints. 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.
A single configuration set can include more than one event destination.
CloudformationResource: AWS::PinpointEmail::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.PinpointEmail;
var cfnConfigurationSetEventDestination = new CfnConfigurationSetEventDestination(this, "MyCfnConfigurationSetEventDestination", new CfnConfigurationSetEventDestinationProps {
ConfigurationSetName = "configurationSetName",
EventDestinationName = "eventDestinationName",
// the properties below are optional
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"
},
PinpointDestination = new PinpointDestinationProperty {
ApplicationArn = "applicationArn"
},
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
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 that you want to modify. |
EventDestination | An object that defines the event destination. |
EventDestinationName | The name of the event destination that you want to modify. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnConfigurationSetEventDestination(Construct, String, ICfnConfigurationSetEventDestinationProps)
Create a new AWS::PinpointEmail::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
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 that you want to modify.
public virtual string ConfigurationSetName { get; set; }
Property Value
System.String
Remarks
EventDestination
An object that defines the event destination.
public virtual object EventDestination { get; set; }
Property Value
System.Object
Remarks
EventDestinationName
The name of the event destination that you want to modify.
public virtual string EventDestinationName { get; set; }
Property Value
System.String
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>