CfnProtectConfigurationProps
- class aws_cdk.aws_smsvoice.CfnProtectConfigurationProps(*, country_rule_set=None, deletion_protection_enabled=None, tags=None)
Bases:
object
Properties for defining a
CfnProtectConfiguration
.- Parameters:
country_rule_set (
Union
[IResolvable
,CountryRuleSetProperty
,Dict
[str
,Any
],None
]) – The set ofCountryRules
you specify to control which countries End User Messaging can send your messages to.deletion_protection_enabled (
Union
[bool
,IResolvable
,None
]) – The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – An array of key and value pair tags that are associated with the resource.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_smsvoice as smsvoice cfn_protect_configuration_props = smsvoice.CfnProtectConfigurationProps( country_rule_set=smsvoice.CfnProtectConfiguration.CountryRuleSetProperty( mms=[smsvoice.CfnProtectConfiguration.CountryRuleProperty( country_code="countryCode", protect_status="protectStatus" )], sms=[smsvoice.CfnProtectConfiguration.CountryRuleProperty( country_code="countryCode", protect_status="protectStatus" )], voice=[smsvoice.CfnProtectConfiguration.CountryRuleProperty( country_code="countryCode", protect_status="protectStatus" )] ), deletion_protection_enabled=False, tags=[CfnTag( key="key", value="value" )] )
Attributes
- country_rule_set
The set of
CountryRules
you specify to control which countries End User Messaging can send your messages to.
- deletion_protection_enabled
The status of deletion protection for the protect configuration.
When set to true deletion protection is enabled. By default this is set to false.
- tags
An array of key and value pair tags that are associated with the resource.