Skip to content
v2.275.0

CfnRegistrationAttachmentProps Struct ​

Properties for defining a CfnRegistrationAttachment.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_smsvoice as smsvoice } from 'aws-cdk-lib';
const cfnRegistrationAttachmentProps: smsvoice.CfnRegistrationAttachmentProps = {
  attachmentBody: 'attachmentBody',
  attachmentUrl: 'attachmentUrl',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

attachmentBodyoptionalstringattachment_bodyoptionalstrattachmentBodyoptionalStringAttachmentBodyoptionalstringAttachmentBodyoptional*string#
The registration file to upload.

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

attachmentUrloptionalstringattachment_urloptionalstrattachmentUrloptionalStringAttachmentUrloptionalstringAttachmentUrloptional*string#
A URL to the required registration file.

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

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
An array of tags (key and value pairs) to associate with the registration attachment.