AWS::SMSVOICE::ProtectConfiguration CountryRule - AWS CloudFormation

This is the new AWS 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 AWS 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