awscc_connect_phone_number (Resource)

Resource Type definition for AWS::Connect::PhoneNumber

Example Usage

Basic

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"
}

With prefix

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"
}

Schema

Required

Optional

Read-Only

Nested Schema for tags

Required:

Import

Import is supported using the following syntax:

$ terraform import awscc_connect_phone_number.example <resource ID>