Class CfnConfigurationSet
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.smsvoice.CfnConfigurationSet
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,IConfigurationSetRef
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-25T11:29:17.626Z")
@Stability(Stable)
public class CfnConfigurationSet
extends CfnResource
implements IInspectable, IConfigurationSetRef, ITaggableV2
Creates a new configuration set.
After you create the configuration set, you can add one or more event destinations to it.
A configuration set is a set of rules that you apply to the SMS and voice messages that you send.
When you send a message, you can optionally specify a single configuration set.
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.smsvoice.*; CfnConfigurationSet cfnConfigurationSet = CfnConfigurationSet.Builder.create(this, "MyCfnConfigurationSet") .configurationSetName("configurationSetName") .defaultSenderId("defaultSenderId") .eventDestinations(List.of(EventDestinationProperty.builder() .enabled(false) .eventDestinationName("eventDestinationName") .matchingEventTypes(List.of("matchingEventTypes")) // the properties below are optional .cloudWatchLogsDestination(CloudWatchLogsDestinationProperty.builder() .iamRoleArn("iamRoleArn") .logGroupArn("logGroupArn") .build()) .kinesisFirehoseDestination(KinesisFirehoseDestinationProperty.builder() .deliveryStreamArn("deliveryStreamArn") .iamRoleArn("iamRoleArn") .build()) .snsDestination(SnsDestinationProperty.builder() .topicArn("topicArn") .build()) .build())) .messageFeedbackEnabled(false) .protectConfigurationId("protectConfigurationId") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A fluent builder forCfnConfigurationSet
.static interface
Contains the destination configuration to use when publishing message sending events.static interface
Contains information about an event destination.static interface
Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the AWS Identity and Access Management (IAM) role associated with a Firehose event destination.static interface
An object that defines an Amazon SNS destination for 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.services.smsvoice.IConfigurationSetRef
IConfigurationSetRef.Jsii$Default, IConfigurationSetRef.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnConfigurationSet
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnConfigurationSet
(software.amazon.jsii.JsiiObjectRef objRef) CfnConfigurationSet
(software.constructs.Construct scope, String id) CfnConfigurationSet
(software.constructs.Construct scope, String id, CfnConfigurationSetProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the ConfigurationSet.Tag Manager which manages the tags for this resource.The name of the ConfigurationSet.A reference to a ConfigurationSet resource.The default sender ID used by the ConfigurationSet.An array of EventDestination objects that describe any events to log and where to log them.Set to true to enable feedback for the message.The unique identifier for the protect configuration.getTags()
An array of key and value pair tags that's associated with the new configuration set.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setConfigurationSetName
(String value) The name of the ConfigurationSet.void
setDefaultSenderId
(String value) The default sender ID used by the ConfigurationSet.void
setEventDestinations
(List<Object> value) An array of EventDestination objects that describe any events to log and where to log them.void
setEventDestinations
(IResolvable value) An array of EventDestination objects that describe any events to log and where to log them.void
setMessageFeedbackEnabled
(Boolean value) Set to true to enable feedback for the message.void
Set to true to enable feedback for the message.void
setProtectConfigurationId
(String value) The unique identifier for the protect configuration.void
An array of key and value pair tags that's associated with the new configuration set.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, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
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.constructs.IConstruct
getNode
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
-
CfnConfigurationSet
protected CfnConfigurationSet(software.amazon.jsii.JsiiObjectRef objRef) -
CfnConfigurationSet
protected CfnConfigurationSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnConfigurationSet
@Stability(Stable) public CfnConfigurationSet(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnConfigurationSetProps 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.
-
CfnConfigurationSet
@Stability(Stable) public CfnConfigurationSet(@NotNull software.constructs.Construct scope, @NotNull String id) - 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.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the ConfigurationSet. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getConfigurationSetRef
A reference to a ConfigurationSet resource.- Specified by:
getConfigurationSetRef
in interfaceIConfigurationSetRef
-
getConfigurationSetName
The name of the ConfigurationSet. -
setConfigurationSetName
The name of the ConfigurationSet. -
getDefaultSenderId
The default sender ID used by the ConfigurationSet. -
setDefaultSenderId
The default sender ID used by the ConfigurationSet. -
getEventDestinations
An array of EventDestination objects that describe any events to log and where to log them. -
setEventDestinations
An array of EventDestination objects that describe any events to log and where to log them. -
setEventDestinations
An array of EventDestination objects that describe any events to log and where to log them. -
getMessageFeedbackEnabled
Set to true to enable feedback for the message. -
setMessageFeedbackEnabled
Set to true to enable feedback for the message. -
setMessageFeedbackEnabled
Set to true to enable feedback for the message. -
getProtectConfigurationId
The unique identifier for the protect configuration. -
setProtectConfigurationId
The unique identifier for the protect configuration. -
getTags
An array of key and value pair tags that's associated with the new configuration set. -
setTags
An array of key and value pair tags that's associated with the new configuration set.
-