Interface CfnPoolProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPoolProps.Jsii$Proxy
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 classA builder forCfnPoolPropsstatic final classAn implementation forCfnPoolProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPoolProps.Builderbuilder()default ObjectWhen set to true the pool can't be deleted.Creates or updates the pool'sMandatoryKeywordconfiguration.default ObjectSpecifies any optional keywords to associate with the pool.default StringThe name of the OptOutList associated with the pool.The list of origination identities to apply to the pool, eitherPhoneNumberArnorSenderIdArn.default ObjectWhen 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 ObjectAllows you to enable shared routes on your pool.getTags()An array of tags (key and value pairs) associated with the pool.default ObjectDescribes 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'sMandatoryKeywordconfiguration.For more information, see Keywords in the End User Messaging User Guide.
Returns union: either
IResolvableorCfnPool.MandatoryKeywordsProperty- See Also:
-
getOriginationIdentities
The list of origination identities to apply to the pool, eitherPhoneNumberArnorSenderIdArn.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.Returns union: either
BooleanorIResolvable- See Also:
-
getOptionalKeywords
Specifies any optional keywords to associate with the pool.For more information, see Keywords in the End User Messaging User Guide.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPool.OptionalKeywordProperty>- 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
Returns union: either
BooleanorIResolvable- 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.
Returns union: either
IResolvableorCfnPool.TwoWayProperty- See Also:
-
builder
- Returns:
- a
CfnPoolProps.BuilderofCfnPoolProps
-