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
CountryRuleSetfor 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 classA builder forCfnProtectConfiguration.CountryRuleSetPropertystatic final classAn implementation forCfnProtectConfiguration.CountryRuleSetProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetMms()The set ofCountryRules to control which destination countries End User Messaging can send your MMS messages to.default ObjectgetSms()The set ofCountryRules to control which destination countries End User Messaging can send your SMS messages to.default ObjectgetVoice()The set ofCountryRules 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 ofCountryRules to control which destination countries End User Messaging can send your MMS messages to.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProtectConfiguration.CountryRuleProperty>- See Also:
-
getSms
The set ofCountryRules to control which destination countries End User Messaging can send your SMS messages to.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProtectConfiguration.CountryRuleProperty>- See Also:
-
getVoice
The set ofCountryRules to control which destination countries End User Messaging can send your VOICE messages to.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProtectConfiguration.CountryRuleProperty>- See Also:
-
builder
-