AWS::SMSVOICE::ProtectConfiguration CountryRule - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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