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,IEnvironmentAware,IConfigurationSetRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:14.592Z")
@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 classA fluent builder forCfnConfigurationSet.static interfaceContains the destination configuration to use when publishing message sending events.static interfaceContains information about an event destination.static interfaceContains 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 interfaceAn object that defines an Amazon SNS destination for events.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.smsvoice.IConfigurationSetRef
IConfigurationSetRef.Jsii$Default, IConfigurationSetRef.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$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnConfigurationSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnConfigurationSet(software.amazon.jsii.JsiiObjectRef objRef) CfnConfigurationSet(software.constructs.Construct scope, String id) Create a newAWS::SMSVOICE::ConfigurationSet.CfnConfigurationSet(software.constructs.Construct scope, String id, CfnConfigurationSetProps props) Create a newAWS::SMSVOICE::ConfigurationSet. -
Method Summary
Modifier and TypeMethodDescriptionstatic IConfigurationSetReffromConfigurationSetArn(software.constructs.Construct scope, String id, String arn) Creates a new IConfigurationSetRef from an ARN.static IConfigurationSetReffromConfigurationSetName(software.constructs.Construct scope, String id, String configurationSetName) Creates a new IConfigurationSetRef from a configurationSetName.The 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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetConfigurationSetName(String value) The name of the ConfigurationSet.voidsetDefaultSenderId(String value) The default sender ID used by the ConfigurationSet.voidsetEventDestinations(List<Object> value) An array of EventDestination objects that describe any events to log and where to log them.voidsetEventDestinations(IResolvable value) An array of EventDestination objects that describe any events to log and where to log them.voidsetMessageFeedbackEnabled(Boolean value) Set to true to enable feedback for the message.voidSet to true to enable feedback for the message.voidsetProtectConfigurationId(String value) The unique identifier for the protect configuration.voidAn 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, getEnv, 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.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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) Create a newAWS::SMSVOICE::ConfigurationSet.- 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) Create a newAWS::SMSVOICE::ConfigurationSet.- 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
-
fromConfigurationSetArn
@Stability(Stable) @NotNull public static IConfigurationSetRef fromConfigurationSetArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IConfigurationSetRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromConfigurationSetName
@Stability(Stable) @NotNull public static IConfigurationSetRef fromConfigurationSetName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String configurationSetName) Creates a new IConfigurationSetRef from a configurationSetName.- Parameters:
scope- This parameter is required.id- This parameter is required.configurationSetName- This parameter is required.
-
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.
-
getAttrArn
The Amazon Resource Name (ARN) of the ConfigurationSet. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getConfigurationSetRef
A reference to a ConfigurationSet resource.- Specified by:
getConfigurationSetRefin 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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnConfigurationSet.EventDestinationProperty> -
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.Returns union: either
BooleanorIResolvable -
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.
-