CfnSenderIdProps

class aws_cdk.aws_smsvoice.CfnSenderIdProps(*, iso_country_code, sender_id, deletion_protection_enabled=None, tags=None)

Bases: object

Properties for defining a CfnSenderId.

Parameters:
  • iso_country_code (str) – The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

  • sender_id (str) – The sender ID string to request.

  • deletion_protection_enabled (Union[bool, IResolvable, None]) – By default this is set to false. When set to true the sender ID can’t be deleted.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of tags (key and value pairs) to associate with the sender ID.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_smsvoice as smsvoice

cfn_sender_id_props = smsvoice.CfnSenderIdProps(
    iso_country_code="isoCountryCode",
    sender_id="senderId",

    # the properties below are optional
    deletion_protection_enabled=False,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

deletion_protection_enabled

By default this is set to false.

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

iso_country_code

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

See:

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

sender_id

The sender ID string to request.

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.

See:

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