@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.179Z") @Stability(value=Stable) public class CfnConfigurationSetEventDestination extends CfnResource implements IInspectable
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 or Amazon Kinesis Data Firehose.
You can't specify Amazon SNS event destinations in CloudFormation templates.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
CfnConfigurationSetEventDestination cfnConfigurationSetEventDestination = CfnConfigurationSetEventDestination.Builder.create(this, "MyCfnConfigurationSetEventDestination")
.configurationSetName("configurationSetName")
.eventDestination(EventDestinationProperty.builder()
.matchingEventTypes(List.of("matchingEventTypes"))
// the properties below are optional
.cloudWatchDestination(CloudWatchDestinationProperty.builder()
.dimensionConfigurations(List.of(DimensionConfigurationProperty.builder()
.defaultDimensionValue("defaultDimensionValue")
.dimensionName("dimensionName")
.dimensionValueSource("dimensionValueSource")
.build()))
.build())
.enabled(false)
.kinesisFirehoseDestination(KinesisFirehoseDestinationProperty.builder()
.deliveryStreamArn("deliveryStreamArn")
.iamRoleArn("iamRoleArn")
.build())
.name("name")
.snsDestination(SnsDestinationProperty.builder()
.topicArn("topicArn")
.build())
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnConfigurationSetEventDestination.Builder
A fluent builder for
CfnConfigurationSetEventDestination. |
static interface |
CfnConfigurationSetEventDestination.CloudWatchDestinationProperty
Contains information associated with an Amazon CloudWatch event destination to which email sending events are published.
|
static interface |
CfnConfigurationSetEventDestination.DimensionConfigurationProperty
Contains the dimension configuration to use when you publish email sending events to Amazon CloudWatch.
|
static interface |
CfnConfigurationSetEventDestination.EventDestinationProperty
Contains information about an event destination.
|
static interface |
CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty
Contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
|
static interface |
CfnConfigurationSetEventDestination.SnsDestinationProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnConfigurationSetEventDestination(software.constructs.Construct scope,
String id,
CfnConfigurationSetEventDestinationProps props)
Create a new `AWS::SES::ConfigurationSetEventDestination`.
|
protected |
CfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrId() |
protected Map<String,Object> |
getCfnProperties() |
String |
getConfigurationSetName()
The name of the configuration set that contains the event destination.
|
Object |
getEventDestination()
The event destination object.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setConfigurationSetName(String value)
The name of the configuration set that contains the event destination.
|
void |
setEventDestination(CfnConfigurationSetEventDestination.EventDestinationProperty value)
The event destination object.
|
void |
setEventDestination(IResolvable value)
The event destination object.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnConfigurationSetEventDestination(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnConfigurationSetEventDestinationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getConfigurationSetName()
@Stability(value=Stable)
public void setConfigurationSetName(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getEventDestination()
@Stability(value=Stable)
public void setEventDestination(@NotNull
CfnConfigurationSetEventDestination.EventDestinationProperty value)
@Stability(value=Stable)
public void setEventDestination(@NotNull
IResolvable value)
Copyright © 2022. All rights reserved.