CfnRegistrationAttachmentProps
- class aws_cdk.aws_smsvoice.CfnRegistrationAttachmentProps(*, attachment_body=None, attachment_url=None, tags=None)
Bases:
objectProperties for defining a
CfnRegistrationAttachment.- 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:
- 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 import aws_smsvoice as smsvoice cfn_registration_attachment_props = smsvoice.CfnRegistrationAttachmentProps( 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.
- attachment_url
A URL to the required registration file.
For example, the URL to an MMS/shortcode form.
- tags
An array of tags (key and value pairs) to associate with the registration attachment.