AWS::Connect::PhoneNumberResource Type definition for AWS::Connect::PhoneNumber
7 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
TargetArn | string | Required |
CountryCode | string | Create-only |
Description | string | |
Prefix | string | Create-onlyWrite-only |
SourcePhoneNumberArn | string | Create-only |
Tags | Array<Tag> | |
Type | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Address | string | The phone number e164 address. |
PhoneNumberArn | string | The phone number ARN |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Connect::PhoneNumber
Resources:
MyResource:
Type: AWS::Connect::PhoneNumber
Properties:
TargetArn: "arn:aws:service:region:account:resource"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
connect:ClaimPhoneNumberconnect:SearchAvailablePhoneNumbersconnect:DescribePhoneNumberconnect:TagResourceconnect:ImportPhoneNumbersms-voice:DescribePhoneNumberssocial-messaging:GetLinkedWhatsAppBusinessAccountPhoneNumbersocial-messaging:TagResourceconnect:DescribePhoneNumberconnect:ReleasePhoneNumberconnect:UntagResourceconnect:UpdatePhoneNumberconnect:UpdatePhoneNumberMetadataconnect:DescribePhoneNumberconnect:TagResourceconnect:UntagResourceconnect:ListPhoneNumbersV2Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterPhoneNumberArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
TypeCountryCodePrefixSourcePhoneNumberArn