AWS Fundamentals Logo
AWS Fundamentals
AWS::SMSVOICE::PhoneNumber

SMSVOICE PhoneNumber

Resource Type definition for AWS::SMSVOICE::PhoneNumber

Properties

10 configurable properties. 4 required. Click a row to see details.

Filter:
PropertyTypeFlags
IsoCountryCode
string
RequiredCreate-only
MandatoryKeywords
object
Required
NumberCapabilities
Array<string>
RequiredCreate-only
NumberType
string
RequiredCreate-only
DeletionProtectionEnabled
boolean
OptionalKeywords
Array<OptionalKeyword>
OptOutListName
string
SelfManagedOptOutsEnabled
boolean
Tags
Array<Tag>
TwoWay
object

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Arnstring-
PhoneNumberstring-
PhoneNumberIdstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SMSVOICE::PhoneNumber

Resources:
  MyResource:
    Type: AWS::SMSVOICE::PhoneNumber
    Properties:
      IsoCountryCode: "value"
      NumberCapabilities: []
      NumberType: "LONG_CODE"
      MandatoryKeywords: {}
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

sms-voice:DescribePhoneNumberssms-voice:RequestPhoneNumbersms-voice:UpdatePhoneNumbersms-voice:DescribeKeywordssms-voice:PutKeywordsms-voice:TagResourcesms-voice:ListTagsForResourceiam:PassRole

read

sms-voice:DescribePhoneNumberssms-voice:DescribeKeywordssms-voice:ListTagsForResource

update

sms-voice:DescribePhoneNumberssms-voice:UpdatePhoneNumbersms-voice:DescribeKeywordssms-voice:DeleteKeywordsms-voice:PutKeywordsms-voice:UntagResourcesms-voice:TagResourcesms-voice:ListTagsForResource

delete

sms-voice:ReleasePhoneNumbersms-voice:DescribePhoneNumbers

list

sms-voice:DescribePhoneNumbers

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceSMSVOICE
Properties13
Required4
TaggingSupported
Primary IDPhoneNumberId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

IsoCountryCodeNumberCapabilitiesNumberType

External Links