Class CfnProtectConfigurationProps
Properties for defining a CfnProtectConfiguration.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SMSVOICE
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnProtectConfigurationProps : ICfnProtectConfigurationProps
Syntax (vb)
Public Class CfnProtectConfigurationProps Implements ICfnProtectConfigurationProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SMSVOICE;
var cfnProtectConfigurationProps = new CfnProtectConfigurationProps {
CountryRuleSet = new CountryRuleSetProperty {
Mms = new [] { new CountryRuleProperty {
CountryCode = "countryCode",
ProtectStatus = "protectStatus"
} },
Sms = new [] { new CountryRuleProperty {
CountryCode = "countryCode",
ProtectStatus = "protectStatus"
} },
Voice = new [] { new CountryRuleProperty {
CountryCode = "countryCode",
ProtectStatus = "protectStatus"
} }
},
DeletionProtectionEnabled = false,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnProtectConfigurationProps() | Properties for defining a |
Properties
| CountryRuleSet | The set of |
| DeletionProtectionEnabled | The status of deletion protection for the protect configuration. |
| Tags | An array of key and value pair tags that are associated with the resource. |
Constructors
CfnProtectConfigurationProps()
Properties for defining a CfnProtectConfiguration.
public CfnProtectConfigurationProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SMSVOICE;
var cfnProtectConfigurationProps = new CfnProtectConfigurationProps {
CountryRuleSet = new CountryRuleSetProperty {
Mms = new [] { new CountryRuleProperty {
CountryCode = "countryCode",
ProtectStatus = "protectStatus"
} },
Sms = new [] { new CountryRuleProperty {
CountryCode = "countryCode",
ProtectStatus = "protectStatus"
} },
Voice = new [] { new CountryRuleProperty {
CountryCode = "countryCode",
ProtectStatus = "protectStatus"
} }
},
DeletionProtectionEnabled = false,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
CountryRuleSet
The set of CountryRules you specify to control which countries End User Messaging can send your messages to.
public object? CountryRuleSet { get; set; }
Property Value
Remarks
DeletionProtectionEnabled
The status of deletion protection for the protect configuration.
public object? DeletionProtectionEnabled { get; set; }
Property Value
Remarks
When set to true deletion protection is enabled. By default this is set to false.
Type union: either bool or IResolvable
Tags
An array of key and value pair tags that are associated with the resource.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]