@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.252Z") @Stability(value=Stable) public class CfnConfigurationSetEventDestination extends CfnResource implements IInspectable
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.
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.pinpointemail.*;
CfnConfigurationSetEventDestination cfnConfigurationSetEventDestination = CfnConfigurationSetEventDestination.Builder.create(this, "MyCfnConfigurationSetEventDestination")
.configurationSetName("configurationSetName")
.eventDestinationName("eventDestinationName")
// the properties below are optional
.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())
.pinpointDestination(PinpointDestinationProperty.builder()
.applicationArn("applicationArn")
.build())
.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
An object that defines an Amazon CloudWatch destination for email events.
|
static interface |
CfnConfigurationSetEventDestination.DimensionConfigurationProperty
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
|
static interface |
CfnConfigurationSetEventDestination.EventDestinationProperty
In Amazon Pinpoint, *events* include message sends, deliveries, opens, clicks, bounces, and complaints.
|
static interface |
CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty
An object that defines an Amazon Kinesis Data Firehose destination for email events.
|
static interface |
CfnConfigurationSetEventDestination.PinpointDestinationProperty
An object that defines a Amazon Pinpoint destination for email events.
|
static interface |
CfnConfigurationSetEventDestination.SnsDestinationProperty
An object that defines an Amazon SNS destination for email events.
|
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::PinpointEmail::ConfigurationSetEventDestination`.
|
protected |
CfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
String |
getConfigurationSetName()
The name of the configuration set that contains the event destination that you want to modify.
|
Object |
getEventDestination()
An object that defines the event destination.
|
String |
getEventDestinationName()
The name of the event destination that you want to modify.
|
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 that you want to modify.
|
void |
setEventDestination(CfnConfigurationSetEventDestination.EventDestinationProperty value)
An object that defines the event destination.
|
void |
setEventDestination(IResolvable value)
An object that defines the event destination.
|
void |
setEventDestinationName(String value)
The name of the event destination that you want to modify.
|
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 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 String getEventDestinationName()
@Stability(value=Stable)
public void setEventDestinationName(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getEventDestination()
@Stability(value=Stable)
public void setEventDestination(@Nullable
CfnConfigurationSetEventDestination.EventDestinationProperty value)
@Stability(value=Stable)
public void setEventDestination(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.