CfnRegistrationAttachmentMixinProps

class aws_cdk.cfn_property_mixins.aws_smsvoice.CfnRegistrationAttachmentMixinProps(*, attachment_body=None, attachment_url=None, tags=None)

Bases: object

Properties for CfnRegistrationAttachmentPropsMixin.

Parameters:
  • attachment_body (Optional[str]) – The registration file to upload. The maximum file size is 1500KB and valid file extensions are PDF, JPEG and PNG.

  • attachment_url (Optional[str]) – A URL to the required registration file. For example, the URL to an MMS/shortcode form.

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

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

cfn_registration_attachment_mixin_props = smsvoice.CfnRegistrationAttachmentMixinProps(
    attachment_body="attachmentBody",
    attachment_url="attachmentUrl",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

attachment_body

The registration file to upload.

The maximum file size is 1500KB and valid file extensions are PDF, JPEG and PNG.

See:

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

attachment_url

A URL to the required registration file.

For example, the URL to an MMS/shortcode form.

See:

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

tags

An array of tags (key and value pairs) to associate with the registration attachment.

See:

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