Resource Type definition for AWS::Connect::PhoneNumber
Note that the AWS provider resource for aws_connect_instance is used.
resource "awscc_connect_phone_number" "example" {
target_arn = aws_connect_instance.example.arn
description = "example"
country_code = "US"
type = "DID"
}
Note that the AWS provider resource for aws_connect_instance is used.
resource "awscc_connect_phone_number" "example" {
target_arn = aws_connect_instance.example.arn
description = "example"
country_code = "US"
type = "DID"
prefix = "+180"
}
target_arn
(String) The ARN of the target the phone number is claimed to.country_code
(String) The phone number country code.description
(String) The description of the phone number.prefix
(String) The phone number prefix.source_phone_number_arn
(String) The source phone number arn.tags
(Attributes Set) One or more tags. (see below for nested schema)type
(String) The phone number typeaddress
(String) The phone number e164 address.id
(String) Uniquely identifies the resource.phone_number_arn
(String) The phone number ARNtags
Required:
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 -.Import is supported using the following syntax:
$ terraform import awscc_connect_phone_number.example <resource ID>