AWS::Connect::PhoneNumberClaims a phone number to the specified Amazon Connect instance or traffic distribution group.
import { CfnPhoneNumber } from 'aws-cdk-lib/aws-connect';Or use the module namespace:
import * as connect from 'aws-cdk-lib/aws-connect';
// connect.CfnPhoneNumberConfiguration passed to the constructor as CfnPhoneNumberProps.
targetArnRequiredstringThe Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.
countryCodeOptionalstringThe ISO country code.
descriptionOptionalstringThe description of the phone number.
prefixOptionalstringThe prefix of the phone number. If provided, it must contain `+` as part of the country code. *Pattern* : `^\\+[0-9]{1,15}`
sourcePhoneNumberArnOptionalstringThe claimed phone number ARN that was previously imported from the external service, such as AWS End User Messaging. If it is from AWS End User Messaging, it looks like the ARN of the phone number that was imported from AWS End User Messaging.
tagsOptionalCfnTag[]The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
typeOptionalstringThe type of phone number.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-connectAWS::Connect::PhoneNumber