CfnPhoneNumberProps Struct
Properties for defining a CfnPhoneNumber.
Example
ts
// 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 = {
targetArn: 'targetArn',
// the properties below are optional
countryCode: 'countryCode',
description: 'description',
prefix: 'prefix',
sourcePhoneNumberArn: 'sourcePhoneNumberArn',
tags: [{
key: 'key',
value: 'value',
}],
type: 'type',
};
Properties
countryCodeoptionalstringcountry_codeoptionalstrcountryCodeoptionalStringCountryCodeoptionalstringCountryCodeoptional*string#The ISO country code.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#The description of the phone number.
The prefix of the phone number. If provided, it must contain `+` as part of the country code.
Pattern : ^\\+[0-9]{1,15}
sourcePhoneNumberArnoptionalstringsource_phone_number_arnoptionalstrsourcePhoneNumberArnoptionalStringSourcePhoneNumberArnoptionalstringSourcePhoneNumberArnoptional*string#The 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[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The Amazon Resource Name (ARN) for Connect Customer instances or traffic distribution group that phone numbers are claimed to.
The type of phone number.