aws-native.connect.PhoneNumber
Resource Type definition for AWS::Connect::PhoneNumber
Create PhoneNumber Resource
new PhoneNumber(name: string, args: PhoneNumberArgs, opts?: CustomResourceOptions);
@overload
def PhoneNumber(resource_name: str,
opts: Optional[ResourceOptions] = None,
country_code: Optional[str] = None,
description: Optional[str] = None,
prefix: Optional[str] = None,
tags: Optional[Sequence[PhoneNumberTagArgs]] = None,
target_arn: Optional[str] = None,
type: Optional[str] = None)
@overload
def PhoneNumber(resource_name: str,
args: PhoneNumberArgs,
opts: Optional[ResourceOptions] = None)
func NewPhoneNumber(ctx *Context, name string, args PhoneNumberArgs, opts ...ResourceOption) (*PhoneNumber, error)
public PhoneNumber(string name, PhoneNumberArgs args, CustomResourceOptions? opts = null)
public PhoneNumber(String name, PhoneNumberArgs args)
public PhoneNumber(String name, PhoneNumberArgs args, CustomResourceOptions options)
type: aws-native:connect:PhoneNumber
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PhoneNumberArgs
- 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 PhoneNumberArgs
- 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 PhoneNumberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PhoneNumberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PhoneNumberArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PhoneNumber Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The PhoneNumber resource accepts the following input properties:
- Country
Code string The phone number country code.
- Target
Arn string The ARN of the target the phone number is claimed to.
- Type string
The phone number type, either TOLL_FREE or DID.
- Description string
The description of the phone number.
- Prefix string
The phone number prefix.
- List<Pulumi.
Aws Native. Connect. Inputs. Phone Number Tag Args> One or more tags.
- Country
Code string The phone number country code.
- Target
Arn string The ARN of the target the phone number is claimed to.
- Type string
The phone number type, either TOLL_FREE or DID.
- Description string
The description of the phone number.
- Prefix string
The phone number prefix.
- []Phone
Number Tag Args One or more tags.
- country
Code String The phone number country code.
- target
Arn String The ARN of the target the phone number is claimed to.
- type String
The phone number type, either TOLL_FREE or DID.
- description String
The description of the phone number.
- prefix String
The phone number prefix.
- List<Phone
Number Tag Args> One or more tags.
- country
Code string The phone number country code.
- target
Arn string The ARN of the target the phone number is claimed to.
- type string
The phone number type, either TOLL_FREE or DID.
- description string
The description of the phone number.
- prefix string
The phone number prefix.
- Phone
Number Tag Args[] One or more tags.
- country_
code str The phone number country code.
- target_
arn str The ARN of the target the phone number is claimed to.
- type str
The phone number type, either TOLL_FREE or DID.
- description str
The description of the phone number.
- prefix str
The phone number prefix.
- Sequence[Phone
Number Tag Args] One or more tags.
- country
Code String The phone number country code.
- target
Arn String The ARN of the target the phone number is claimed to.
- type String
The phone number type, either TOLL_FREE or DID.
- description String
The description of the phone number.
- prefix String
The phone number prefix.
- List<Property Map>
One or more tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the PhoneNumber resource produces the following output properties:
- Address string
The phone number e164 address.
- Id string
The provider-assigned unique ID for this managed resource.
- Phone
Number stringArn The phone number ARN
- Address string
The phone number e164 address.
- Id string
The provider-assigned unique ID for this managed resource.
- Phone
Number stringArn The phone number ARN
- address String
The phone number e164 address.
- id String
The provider-assigned unique ID for this managed resource.
- phone
Number StringArn The phone number ARN
- address string
The phone number e164 address.
- id string
The provider-assigned unique ID for this managed resource.
- phone
Number stringArn The phone number ARN
- address str
The phone number e164 address.
- id str
The provider-assigned unique ID for this managed resource.
- phone_
number_ strarn The phone number ARN
- address String
The phone number e164 address.
- id String
The provider-assigned unique ID for this managed resource.
- phone
Number StringArn The phone number ARN
Supporting Types
PhoneNumberTag
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0