Show / Hide Table of Contents

Class CfnSenderIdProps

Properties for defining a CfnSenderId.

Inheritance
object
CfnSenderIdProps
Implements
ICfnSenderIdProps
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 CfnSenderIdProps : ICfnSenderIdProps
Syntax (vb)
Public Class CfnSenderIdProps Implements ICfnSenderIdProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-senderid.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 cfnSenderIdProps = new CfnSenderIdProps {
                 IsoCountryCode = "isoCountryCode",
                 SenderId = "senderId",

                 // the properties below are optional
                 DeletionProtectionEnabled = false,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnSenderIdProps()

Properties for defining a CfnSenderId.

Properties

DeletionProtectionEnabled

By default this is set to false.

IsoCountryCode

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

SenderId

The sender ID string to request.

Tags

An array of tags (key and value pairs) to associate with the sender ID.

Constructors

CfnSenderIdProps()

Properties for defining a CfnSenderId.

public CfnSenderIdProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-senderid.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 cfnSenderIdProps = new CfnSenderIdProps {
                 IsoCountryCode = "isoCountryCode",
                 SenderId = "senderId",

                 // the properties below are optional
                 DeletionProtectionEnabled = false,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

DeletionProtectionEnabled

By default this is set to false.

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

object

Remarks

When set to true the sender ID can't be deleted.

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

Type union: either bool or IResolvable

IsoCountryCode

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

public string IsoCountryCode { get; set; }
Property Value

string

Remarks

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

SenderId

The sender ID string to request.

public string SenderId { get; set; }
Property Value

string

Remarks

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

Tags

An array of tags (key and value pairs) to associate with the sender ID.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

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

Implements

ICfnSenderIdProps
Back to top Generated by DocFX