Show / Hide Table of Contents

Class CfnProtectConfigurationPropsMixin.CountryRuleProperty

Specifies the type of protection to use for a country.

Inheritance
object
CfnProtectConfigurationPropsMixin.CountryRuleProperty
Implements
CfnProtectConfigurationPropsMixin.ICountryRuleProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.SMSVOICE.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnProtectConfigurationPropsMixin.CountryRuleProperty : CfnProtectConfigurationPropsMixin.ICountryRuleProperty
Syntax (vb)
Public Class CfnProtectConfigurationPropsMixin.CountryRuleProperty Implements CfnProtectConfigurationPropsMixin.ICountryRuleProperty
Remarks

For example, to set Canada as allowed, the CountryRule would be formatted as follows:

{ "CountryCode": "CA", "ProtectStatus": "ALLOW" }

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-protectconfiguration-countryrule.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.Mixins.Preview.AWS.SMSVOICE.Mixins;

             var countryRuleProperty = new CountryRuleProperty {
                 CountryCode = "countryCode",
                 ProtectStatus = "protectStatus"
             };

Synopsis

Constructors

CountryRuleProperty()

Specifies the type of protection to use for a country.

Properties

CountryCode

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

ProtectStatus

The types of protection that can be used.

Constructors

CountryRuleProperty()

Specifies the type of protection to use for a country.

public CountryRuleProperty()
Remarks

For example, to set Canada as allowed, the CountryRule would be formatted as follows:

{ "CountryCode": "CA", "ProtectStatus": "ALLOW" }

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-protectconfiguration-countryrule.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.Mixins.Preview.AWS.SMSVOICE.Mixins;

             var countryRuleProperty = new CountryRuleProperty {
                 CountryCode = "countryCode",
                 ProtectStatus = "protectStatus"
             };

Properties

CountryCode

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

public string? CountryCode { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-protectconfiguration-countryrule.html#cfn-smsvoice-protectconfiguration-countryrule-countrycode

ProtectStatus

The types of protection that can be used.

public string? ProtectStatus { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-protectconfiguration-countryrule.html#cfn-smsvoice-protectconfiguration-countryrule-protectstatus

Implements

CfnProtectConfigurationPropsMixin.ICountryRuleProperty
Back to top Generated by DocFX