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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnProtectConfiguration.CountryRuleSetProperty
static final class
An implementation forCfnProtectConfiguration.CountryRuleSetProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
getMms()
The set ofCountryRule
s to control which destination countries End User Messaging can send your MMS messages to.default Object
getSms()
The set ofCountryRule
s to control which destination countries End User Messaging can send your SMS messages to.default Object
getVoice()
The set ofCountryRule
s to control which destination countries End User Messaging can send your VOICE messages to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMms
The set ofCountryRule
s to control which destination countries End User Messaging can send your MMS messages to.- See Also:
-
getSms
The set ofCountryRule
s to control which destination countries End User Messaging can send your SMS messages to.- See Also:
-
getVoice
The set ofCountryRule
s to control which destination countries End User Messaging can send your VOICE messages to.- See Also:
-
builder
-