Interface CfnPoolProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPoolProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-25T11:29:17.639Z")
@Stability(Stable)
public interface CfnPoolProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPool
.
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.*; CfnPoolProps cfnPoolProps = CfnPoolProps.builder() .mandatoryKeywords(MandatoryKeywordsProperty.builder() .help(MandatoryKeywordProperty.builder() .message("message") .build()) .stop(MandatoryKeywordProperty.builder() .message("message") .build()) .build()) .originationIdentities(List.of("originationIdentities")) // the properties below are optional .deletionProtectionEnabled(false) .optionalKeywords(List.of(OptionalKeywordProperty.builder() .action("action") .keyword("keyword") .message("message") .build())) .optOutListName("optOutListName") .selfManagedOptOutsEnabled(false) .sharedRoutesEnabled(false) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .twoWay(TwoWayProperty.builder() .enabled(false) // the properties below are optional .channelArn("channelArn") .channelRole("channelRole") .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPoolProps
static final class
An implementation forCfnPoolProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPoolProps.Builder
builder()
default Object
When set to true the pool can't be deleted.Creates or updates the pool'sMandatoryKeyword
configuration.default Object
Specifies any optional keywords to associate with the pool.default String
The name of the OptOutList associated with the pool.The list of origination identities to apply to the pool, eitherPhoneNumberArn
orSenderIdArn
.default Object
When set to false, an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging automatically replies with a customizable message and adds the end recipient to the OptOutList.default Object
Allows you to enable shared routes on your pool.getTags()
An array of tags (key and value pairs) associated with the pool.default Object
Describes the two-way SMS configuration for a phone number.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMandatoryKeywords
Creates or updates the pool'sMandatoryKeyword
configuration.For more information, see Keywords in the End User Messaging User Guide.
- See Also:
-
getOriginationIdentities
The list of origination identities to apply to the pool, eitherPhoneNumberArn
orSenderIdArn
.For more information, see Registrations in the End User Messaging User Guide.
If you are using a shared End User Messaging resource then you must use the full Amazon Resource Name (ARN).
- See Also:
-
getDeletionProtectionEnabled
When set to true the pool can't be deleted.- See Also:
-
getOptionalKeywords
Specifies any optional keywords to associate with the pool.For more information, see Keywords in the End User Messaging User Guide.
- See Also:
-
getOptOutListName
The name of the OptOutList associated with the pool.- See Also:
-
getSelfManagedOptOutsEnabled
When set to false, an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging automatically replies with a customizable message and adds the end recipient to the OptOutList.When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests. For more information see Self-managed opt-outs
- See Also:
-
getTags
An array of tags (key and value pairs) associated with the pool.- See Also:
-
getTwoWay
Describes the two-way SMS configuration for a phone number.For more information, see Two-way SMS messaging in the End User Messaging User Guide.
- See Also:
-
builder
- Returns:
- a
CfnPoolProps.Builder
ofCfnPoolProps
-