aws-cdk-lib.aws_connect.CfnPhoneNumberProps

interface CfnPhoneNumberProps

LanguageType name
.NETAmazon.CDK.AWS.Connect.CfnPhoneNumberProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnPhoneNumberProps
Javasoftware.amazon.awscdk.services.connect.CfnPhoneNumberProps
Pythonaws_cdk.aws_connect.CfnPhoneNumberProps
TypeScript aws-cdk-lib » aws_connect » CfnPhoneNumberProps

Properties for defining a CfnPhoneNumber.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnPhoneNumberProps: connect.CfnPhoneNumberProps = {
  countryCode: 'countryCode',
  targetArn: 'targetArn',
  type: 'type',

  // the properties below are optional
  description: 'description',
  prefix: 'prefix',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
countryCodestringThe ISO country code.
targetArnstringThe Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.
typestringThe type of phone number.
description?stringThe description of the phone number.
prefix?stringThe prefix of the phone number. If provided, it must contain + as part of the country code.
tags?CfnTag[]The tags used to organize, track, or control access for this resource.

countryCode

Type: string

The ISO country code.


targetArn

Type: string

The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.


type

Type: string

The type of phone number.


description?

Type: string (optional)

The description of the phone number.


prefix?

Type: string (optional)

The prefix of the phone number. If provided, it must contain + as part of the country code.

Pattern : ^\\+[0-9]{1,15}


tags?

Type: CfnTag[] (optional)

The tags used to organize, track, or control access for this resource.

For example, { "tags": {"key1":"value1", "key2":"value2"} }.