interface CfnRegistrationAttachmentProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SMSVOICE.CfnRegistrationAttachmentProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssmsvoice#CfnRegistrationAttachmentProps |
Java | software.amazon.awscdk.services.smsvoice.CfnRegistrationAttachmentProps |
Python | aws_cdk.aws_smsvoice.CfnRegistrationAttachmentProps |
TypeScript | aws-cdk-lib » aws_smsvoice » CfnRegistrationAttachmentProps |
Properties for defining a CfnRegistrationAttachment.
Example
// 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
| Name | Type | Description |
|---|---|---|
| attachment | string | The registration file to upload. |
| attachment | string | A URL to the required registration file. |
| tags? | Cfn[] | An array of tags (key and value pairs) to associate with the registration attachment. |
attachmentBody?
Type:
string
(optional)
The registration file to upload.
The maximum file size is 1500KB and valid file extensions are PDF, JPEG and PNG.
attachmentUrl?
Type:
string
(optional)
A URL to the required registration file.
For example, the URL to an MMS/shortcode form.
tags?
Type:
Cfn[]
(optional)
An array of tags (key and value pairs) to associate with the registration attachment.

.NET
Go
Java
Python
TypeScript