Show / Hide Table of Contents

Class CfnProtectConfigurationProps

Properties for defining a CfnProtectConfiguration.

Inheritance
object
CfnProtectConfigurationProps
Implements
ICfnProtectConfigurationProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.SMSVOICE
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnProtectConfigurationProps : ICfnProtectConfigurationProps
Syntax (vb)
Public Class CfnProtectConfigurationProps Implements ICfnProtectConfigurationProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-protectconfiguration.html

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 CfnProtectConfiguration.

Properties

CountryRuleSet

The set of CountryRules you specify to control which countries End User Messaging can send your messages to.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-protectconfiguration.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-protectconfiguration.html#cfn-smsvoice-protectconfiguration-countryruleset

Type union: either IResolvable or CfnProtectConfiguration.ICountryRuleSetProperty

DeletionProtectionEnabled

The status of deletion protection for the protect configuration.

public object? DeletionProtectionEnabled { get; set; }
Property Value

object

Remarks

When set to true deletion protection is enabled. By default this is set to false.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-protectconfiguration.html#cfn-smsvoice-protectconfiguration-deletionprotectionenabled

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[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-protectconfiguration.html#cfn-smsvoice-protectconfiguration-tags

Implements

ICfnProtectConfigurationProps
Back to top Generated by DocFX