Interface CfnProtectConfiguration.CountryRuleSetProperty

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

@Stability(Stable) public static interface CfnProtectConfiguration.CountryRuleSetProperty extends software.amazon.jsii.JsiiSerializable
The set of CountryRules you specify to control which countries End User Messaging can send your messages to.

If you don't specify all available ISO country codes in the CountryRuleSet for each number capability, the AWS CloudFormation drift detection feature will detect drift. This is because End User Messaging always returns all country codes.

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.*;
 CountryRuleSetProperty countryRuleSetProperty = CountryRuleSetProperty.builder()
         .mms(List.of(CountryRuleProperty.builder()
                 .countryCode("countryCode")
                 .protectStatus("protectStatus")
                 .build()))
         .sms(List.of(CountryRuleProperty.builder()
                 .countryCode("countryCode")
                 .protectStatus("protectStatus")
                 .build()))
         .voice(List.of(CountryRuleProperty.builder()
                 .countryCode("countryCode")
                 .protectStatus("protectStatus")
                 .build()))
         .build();
 

See Also: