Interface CfnProtectConfiguration.CountryRuleProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnProtectConfiguration.CountryRuleProperty.Jsii$Proxy
Enclosing class:
CfnProtectConfiguration

@Stability(Stable) public static interface CfnProtectConfiguration.CountryRuleProperty extends software.amazon.jsii.JsiiSerializable
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" }

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.smsvoice.*;
 CountryRuleProperty countryRuleProperty = CountryRuleProperty.builder()
         .countryCode("countryCode")
         .protectStatus("protectStatus")
         .build();
 

See Also: