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
Create a new protect configuration. By default all country rule sets for each capability are set to ALLOW
.
A protect configurations name is stored as a Tag with the key set to Name
and value as the name of the protect configuration.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::SMSVOICE::ProtectConfiguration", "Properties" : { "CountryRuleSet" :
CountryRuleSet
, "DeletionProtectionEnabled" :Boolean
, "Tags" :[ Tag, ... ]
} }
YAML
Type: AWS::SMSVOICE::ProtectConfiguration Properties: CountryRuleSet:
CountryRuleSet
DeletionProtectionEnabled:Boolean
Tags:- Tag
Properties
CountryRuleSet
-
The set of
CountryRules
you specify to control which countries Amazon End User Messaging SMS can send your messages to.Required: No
Type: CountryRuleSet
Update requires: No interruption
DeletionProtectionEnabled
-
The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.
Required: No
Type: Boolean
Update requires: No interruption
-
An array of key and value pair tags that are associated with the resource.
Required: No
Type: Array of Tag
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returnsProtectConfigurationId
.
Fn::GetAtt
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt
.
Arn
-
The Amazon Resource Name (ARN) of the protect configuration.
ProtectConfigurationId
-
The unique identifier for the protect configuration.