interface CfnProtectConfigurationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SMSVOICE.CfnProtectConfigurationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssmsvoice#CfnProtectConfigurationProps |
Java | software.amazon.awscdk.services.smsvoice.CfnProtectConfigurationProps |
Python | aws_cdk.aws_smsvoice.CfnProtectConfigurationProps |
TypeScript | aws-cdk-lib » aws_smsvoice » CfnProtectConfigurationProps |
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 { aws_smsvoice as smsvoice } from 'aws-cdk-lib';
const cfnProtectConfigurationProps: smsvoice.CfnProtectConfigurationProps = {
countryRuleSet: {
mms: [{
countryCode: 'countryCode',
protectStatus: 'protectStatus',
}],
sms: [{
countryCode: 'countryCode',
protectStatus: 'protectStatus',
}],
voice: [{
countryCode: 'countryCode',
protectStatus: 'protectStatus',
}],
},
deletionProtectionEnabled: false,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| country | IResolvable | Country | The set of CountryRules you specify to control which countries End User Messaging can send your messages to. |
| deletion | boolean | IResolvable | The status of deletion protection for the protect configuration. |
| tags? | Cfn[] | An array of key and value pair tags that are associated with the resource. |
countryRuleSet?
Type:
IResolvable | Country
(optional)
The set of CountryRules you specify to control which countries End User Messaging can send your messages to.
deletionProtectionEnabled?
Type:
boolean | IResolvable
(optional)
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?
Type:
Cfn[]
(optional)
An array of key and value pair tags that are associated with the resource.

.NET
Go
Java
Python
TypeScript