Class CfnConfigurationSetEventDestination
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.pinpointemail.CfnConfigurationSetEventDestination
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.895Z")
@Stability(Stable)
public class CfnConfigurationSetEventDestination
extends CfnResource
implements IInspectable
A CloudFormation
AWS::PinpointEmail::ConfigurationSetEventDestination
.
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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnConfigurationSetEventDestination
.static interface
An object that defines an Amazon CloudWatch destination for email events.static interface
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.static interface
In Amazon Pinpoint, events include message sends, deliveries, opens, clicks, bounces, and complaints.static interface
An object that defines an Amazon Kinesis Data Firehose destination for email events.static interface
An object that defines a Amazon Pinpoint destination for email events.static interface
An object that defines an Amazon SNS destination for email events.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnConfigurationSetEventDestination
(Construct scope, String id, CfnConfigurationSetEventDestinationProps props) Create a newAWS::PinpointEmail::ConfigurationSetEventDestination
.protected
CfnConfigurationSetEventDestination
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnConfigurationSetEventDestination
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe 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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.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
(IResolvable value) An object that defines the event destination.void
An object that defines the event destination.void
setEventDestinationName
(String value) The name of the event destination that you want to modify.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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 Construct scope, @NotNull String id, @NotNull CfnConfigurationSetEventDestinationProps props) Create a newAWS::PinpointEmail::ConfigurationSetEventDestination
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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. -
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.
-