interface CfnPoolProps
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_smsvoice.CfnPoolProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssmsvoice#CfnPoolProps |
![]() | software.amazon.awscdk.services.smsvoice.CfnPoolProps |
![]() | aws_cdk.aws_smsvoice.CfnPoolProps |
![]() | aws-cdk-lib » aws_smsvoice » CfnPoolProps |
Properties for defining a CfnPool
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_smsvoice as smsvoice } from 'aws-cdk-lib';
const cfnPoolProps: smsvoice.CfnPoolProps = {
mandatoryKeywords: {
help: {
message: 'message',
},
stop: {
message: 'message',
},
},
originationIdentities: ['originationIdentities'],
// the properties below are optional
deletionProtectionEnabled: false,
optionalKeywords: [{
action: 'action',
keyword: 'keyword',
message: 'message',
}],
optOutListName: 'optOutListName',
selfManagedOptOutsEnabled: false,
sharedRoutesEnabled: false,
tags: [{
key: 'key',
value: 'value',
}],
twoWay: {
enabled: false,
// the properties below are optional
channelArn: 'channelArn',
channelRole: 'channelRole',
},
};
Properties
Name | Type | Description |
---|---|---|
mandatory | IResolvable | Mandatory | Creates or updates the pool's MandatoryKeyword configuration. |
origination | string[] | The list of origination identities to apply to the pool, either PhoneNumberArn or SenderIdArn . |
deletion | boolean | IResolvable | When set to true the pool can't be deleted. |
opt | string | The name of the OptOutList associated with the pool. |
optional | IResolvable | IResolvable | Optional [] | Specifies any optional keywords to associate with the pool. |
self | boolean | IResolvable | 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. |
shared | boolean | IResolvable | Allows you to enable shared routes on your pool. |
tags? | Cfn [] | An array of tags (key and value pairs) associated with the pool. |
two | IResolvable | Two | Describes the two-way SMS configuration for a phone number. |
mandatoryKeywords
Type:
IResolvable
|
Mandatory
Creates or updates the pool's MandatoryKeyword
configuration.
For more information, see Keywords in the End User Messaging User Guide.
originationIdentities
Type:
string[]
The list of origination identities to apply to the pool, either PhoneNumberArn
or SenderIdArn
.
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).
deletionProtectionEnabled?
Type:
boolean |
IResolvable
(optional)
When set to true the pool can't be deleted.
optOutListName?
Type:
string
(optional)
The name of the OptOutList associated with the pool.
optionalKeywords?
Type:
IResolvable
|
IResolvable
|
Optional
[]
(optional)
Specifies any optional keywords to associate with the pool.
For more information, see Keywords in the End User Messaging User Guide.
selfManagedOptOutsEnabled?
Type:
boolean |
IResolvable
(optional)
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
sharedRoutesEnabled?
Type:
boolean |
IResolvable
(optional)
Allows you to enable shared routes on your pool.
By default, this is set to False
. If you set this value to True
, your messages are sent using phone numbers or sender IDs (depending on the country) that are shared with other users. In some countries, such as the United States, senders aren't allowed to use shared routes and must use a dedicated phone number or short code.
tags?
Type:
Cfn
[]
(optional)
An array of tags (key and value pairs) associated with the pool.
twoWay?
Type:
IResolvable
|
Two
(optional)
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.