Interface CfnProtectConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProtectConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:14.610Z")
@Stability(Stable)
public interface CfnProtectConfigurationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnProtectConfiguration.
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.*;
CfnProtectConfigurationProps cfnProtectConfigurationProps = CfnProtectConfigurationProps.builder()
.countryRuleSet(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())
.deletionProtectionEnabled(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnProtectConfigurationPropsstatic final classAn implementation forCfnProtectConfigurationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe set ofCountryRulesyou specify to control which countries End User Messaging can send your messages to.default ObjectThe status of deletion protection for the protect configuration.getTags()An array of key and value pair tags that are associated with the resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCountryRuleSet
The set ofCountryRulesyou specify to control which countries End User Messaging can send your messages to.Returns union: either
IResolvableorCfnProtectConfiguration.CountryRuleSetProperty- See Also:
-
getDeletionProtectionEnabled
The status of deletion protection for the protect configuration.When set to true deletion protection is enabled. By default this is set to false.
Returns union: either
BooleanorIResolvable- See Also:
-
getTags
An array of key and value pair tags that are associated with the resource.- See Also:
-
builder
-