Class CfnConfigurationSetEventDestination
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.pinpointemail.CfnConfigurationSetEventDestination
- All Implemented Interfaces:
IInspectable,IConfigurationSetEventDestinationRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:43.245Z")
@Stability(Stable)
public class CfnConfigurationSetEventDestination
extends CfnResource
implements IInspectable, IConfigurationSetEventDestinationRef
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnConfigurationSetEventDestination.static interfaceAn object that defines an Amazon CloudWatch destination for email events.static interfaceAn array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.static interfaceIn Amazon Pinpoint, events include message sends, deliveries, opens, clicks, bounces, and complaints.static interfaceAn object that defines an Amazon Kinesis Data Firehose destination for email events.static interfaceAn object that defines a Amazon Pinpoint destination for email events.static interfaceAn object that defines an Amazon SNS destination for email events.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.pinpointemail.IConfigurationSetEventDestinationRef
IConfigurationSetEventDestinationRef.Jsii$Default, IConfigurationSetEventDestinationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObjectRef objRef) CfnConfigurationSetEventDestination(software.constructs.Construct scope, String id, CfnConfigurationSetEventDestinationProps props) -
Method Summary
Modifier and TypeMethodDescriptionA reference to a ConfigurationSetEventDestination resource.The name of the configuration set that contains the event destination that you want to modify.An object that defines the event destination.The name of the event destination that you want to modify.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetConfigurationSetName(String value) The name of the configuration set that contains the event destination that you want to modify.voidsetEventDestination(IResolvable value) An object that defines the event destination.voidAn object that defines the event destination.voidsetEventDestinationName(String value) The name of the event destination that you want to modify.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnConfigurationSetEventDestination
protected CfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObjectRef objRef) -
CfnConfigurationSetEventDestination
protected CfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnConfigurationSetEventDestination
@Stability(Stable) public CfnConfigurationSetEventDestination(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnConfigurationSetEventDestinationProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getConfigurationSetEventDestinationRef
@Stability(Stable) @NotNull public ConfigurationSetEventDestinationReference getConfigurationSetEventDestinationRef()A reference to a ConfigurationSetEventDestination resource.- Specified by:
getConfigurationSetEventDestinationRefin interfaceIConfigurationSetEventDestinationRef
-
getConfigurationSetName
The name of the configuration set that contains the event destination that you want to modify. -
setConfigurationSetName
The name of the configuration set that contains the event destination that you want to modify. -
getEventDestinationName
The name of the event destination that you want to modify. -
setEventDestinationName
The name of the event destination that you want to modify. -
getEventDestination
An object that defines the event destination.Returns union: either
IResolvableorCfnConfigurationSetEventDestination.EventDestinationProperty -
setEventDestination
An object that defines the event destination. -
setEventDestination
@Stability(Stable) public void setEventDestination(@Nullable CfnConfigurationSetEventDestination.EventDestinationProperty value) An object that defines the event destination.
-