We recommend new projects start with resources from the AWS provider.
aws-native.smsvoice.Pool
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::SMSVOICE::Pool
Create Pool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Pool(name: string, args: PoolArgs, opts?: CustomResourceOptions);
@overload
def Pool(resource_name: str,
args: PoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Pool(resource_name: str,
opts: Optional[ResourceOptions] = None,
mandatory_keywords: Optional[MandatoryKeywordsPropertiesArgs] = None,
origination_identities: Optional[Sequence[str]] = None,
deletion_protection_enabled: Optional[bool] = None,
opt_out_list_name: Optional[str] = None,
optional_keywords: Optional[Sequence[PoolOptionalKeywordArgs]] = None,
self_managed_opt_outs_enabled: Optional[bool] = None,
shared_routes_enabled: Optional[bool] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
two_way: Optional[TwoWayPropertiesArgs] = None)
func NewPool(ctx *Context, name string, args PoolArgs, opts ...ResourceOption) (*Pool, error)
public Pool(string name, PoolArgs args, CustomResourceOptions? opts = null)
type: aws-native:smsvoice:Pool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Pool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Pool resource accepts the following input properties:
- Mandatory
Keywords Pulumi.Aws Native. Smsvoice. Inputs. Mandatory Keywords Properties - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
- Origination
Identities List<string> - The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
- Deletion
Protection boolEnabled - When set to true the pool can't be deleted. By default this is set to false.
- Opt
Out stringList Name - The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
- Optional
Keywords List<Pulumi.Aws Native. Smsvoice. Inputs. Pool Optional Keyword> - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
- Self
Managed boolOpt Outs Enabled - By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice 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.
- bool
- Indicates whether shared routes are enabled for the pool.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Two
Way Pulumi.Aws Native. Smsvoice. Inputs. Two Way Properties - When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
- Mandatory
Keywords MandatoryKeywords Properties Args - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
- Origination
Identities []string - The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
- Deletion
Protection boolEnabled - When set to true the pool can't be deleted. By default this is set to false.
- Opt
Out stringList Name - The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
- Optional
Keywords []PoolOptional Keyword Args - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
- Self
Managed boolOpt Outs Enabled - By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice 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.
- bool
- Indicates whether shared routes are enabled for the pool.
- Tag
Args - An array of key-value pairs to apply to this resource.
- Two
Way TwoWay Properties Args - When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
- mandatory
Keywords MandatoryKeywords Properties - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
- origination
Identities List<String> - The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
- deletion
Protection BooleanEnabled - When set to true the pool can't be deleted. By default this is set to false.
- opt
Out StringList Name - The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
- optional
Keywords List<PoolOptional Keyword> - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
- self
Managed BooleanOpt Outs Enabled - By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice 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.
- Boolean
- Indicates whether shared routes are enabled for the pool.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- two
Way TwoWay Properties - When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
- mandatory
Keywords MandatoryKeywords Properties - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
- origination
Identities string[] - The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
- deletion
Protection booleanEnabled - When set to true the pool can't be deleted. By default this is set to false.
- opt
Out stringList Name - The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
- optional
Keywords PoolOptional Keyword[] - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
- self
Managed booleanOpt Outs Enabled - By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice 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.
- boolean
- Indicates whether shared routes are enabled for the pool.
- Tag[]
- An array of key-value pairs to apply to this resource.
- two
Way TwoWay Properties - When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
- mandatory_
keywords MandatoryKeywords Properties Args - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
- origination_
identities Sequence[str] - The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
- deletion_
protection_ boolenabled - When set to true the pool can't be deleted. By default this is set to false.
- opt_
out_ strlist_ name - The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
- optional_
keywords Sequence[PoolOptional Keyword Args] - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
- self_
managed_ boolopt_ outs_ enabled - By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice 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.
- bool
- Indicates whether shared routes are enabled for the pool.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- two_
way TwoWay Properties Args - When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
- mandatory
Keywords Property Map - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
- origination
Identities List<String> - The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
- deletion
Protection BooleanEnabled - When set to true the pool can't be deleted. By default this is set to false.
- opt
Out StringList Name - The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
- optional
Keywords List<Property Map> - A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
- self
Managed BooleanOpt Outs Enabled - By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice 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.
- Boolean
- Indicates whether shared routes are enabled for the pool.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- two
Way Property Map - When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
Outputs
All input properties are implicitly available as output properties. Additionally, the Pool resource produces the following output properties:
Supporting Types
MandatoryKeywordsProperties, MandatoryKeywordsPropertiesArgs
PoolMandatoryKeyword, PoolMandatoryKeywordArgs
- Message string
- Message string
- message String
- message string
- message str
- message String
PoolOptionalKeyword, PoolOptionalKeywordArgs
- Action
Pool
Optional Keyword Action - Keyword string
- Message string
- action
Pool
Optional Keyword Action - keyword String
- message String
- action
Pool
Optional Keyword Action - keyword string
- message string
PoolOptionalKeywordAction, PoolOptionalKeywordActionArgs
- Automatic
Response - AUTOMATIC_RESPONSE
- Opt
Out - OPT_OUT
- Opt
In - OPT_IN
- Pool
Optional Keyword Action Automatic Response - AUTOMATIC_RESPONSE
- Pool
Optional Keyword Action Opt Out - OPT_OUT
- Pool
Optional Keyword Action Opt In - OPT_IN
- Automatic
Response - AUTOMATIC_RESPONSE
- Opt
Out - OPT_OUT
- Opt
In - OPT_IN
- Automatic
Response - AUTOMATIC_RESPONSE
- Opt
Out - OPT_OUT
- Opt
In - OPT_IN
- AUTOMATIC_RESPONSE
- AUTOMATIC_RESPONSE
- OPT_OUT
- OPT_OUT
- OPT_IN
- OPT_IN
- "AUTOMATIC_RESPONSE"
- AUTOMATIC_RESPONSE
- "OPT_OUT"
- OPT_OUT
- "OPT_IN"
- OPT_IN
Tag, TagArgs
TwoWayProperties, TwoWayPropertiesArgs
- Enabled bool
- By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
- Channel
Arn string - The Amazon Resource Name (ARN) of the two way channel.
- Channel
Role string - An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
- Enabled bool
- By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
- Channel
Arn string - The Amazon Resource Name (ARN) of the two way channel.
- Channel
Role string - An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
- enabled Boolean
- By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
- channel
Arn String - The Amazon Resource Name (ARN) of the two way channel.
- channel
Role String - An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
- enabled boolean
- By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
- channel
Arn string - The Amazon Resource Name (ARN) of the two way channel.
- channel
Role string - An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
- enabled bool
- By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
- channel_
arn str - The Amazon Resource Name (ARN) of the two way channel.
- channel_
role str - An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
- enabled Boolean
- By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
- channel
Arn String - The Amazon Resource Name (ARN) of the two way channel.
- channel
Role String - An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.