AWS::SMSVOICE::ProtectConfiguration CountryRule - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::SMSVOICE::ProtectConfiguration CountryRule

Specifies the type of protection to use for a country.

For example, to set Canada as allowed, the CountryRule would be formatted as follows:

{ "CountryCode": "CA", "ProtectStatus": "ALLOW" }

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "CountryCode" : String, "ProtectStatus" : String }

YAML

CountryCode: String ProtectStatus: String

Properties

CountryCode

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

Required: Yes

Type: String

Pattern: ^[A-Z]{2}$

Update requires: No interruption

ProtectStatus

The types of protection that can be used.

Required: Yes

Type: String

Allowed values: ALLOW | BLOCK | MONITOR | FILTER

Update requires: No interruption