interface MessageTemplateAttachmentProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Wisdom.Mixins.CfnMessageTemplatePropsMixin.MessageTemplateAttachmentProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswisdom/mixins#CfnMessageTemplatePropsMixin_MessageTemplateAttachmentProperty |
Java | software.amazon.awscdk.mixins.preview.services.wisdom.mixins.CfnMessageTemplatePropsMixin.MessageTemplateAttachmentProperty |
Python | aws_cdk.mixins_preview.aws_wisdom.mixins.CfnMessageTemplatePropsMixin.MessageTemplateAttachmentProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wisdom » mixins » CfnMessageTemplatePropsMixin » MessageTemplateAttachmentProperty |
Information about the message template attachment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as wisdom_mixins } from '@aws-cdk/mixins-preview/aws-wisdom';
const messageTemplateAttachmentProperty: wisdom_mixins.CfnMessageTemplatePropsMixin.MessageTemplateAttachmentProperty = {
attachmentId: 'attachmentId',
attachmentName: 'attachmentName',
s3PresignedUrl: 's3PresignedUrl',
};
Properties
| Name | Type | Description |
|---|---|---|
| attachment | string | The identifier of the attachment file. |
| attachment | string | The name of the attachment file being uploaded. |
| s3 | string | The S3 Presigned URL for the attachment file. |
attachmentId?
Type:
string
(optional)
The identifier of the attachment file.
attachmentName?
Type:
string
(optional)
The name of the attachment file being uploaded.
The name should include the file extension.
s3PresignedUrl?
Type:
string
(optional)
The S3 Presigned URL for the attachment file.
When generating the PreSignedUrl, please ensure that the expires-in time is set to 30 minutes. The URL can be generated through the AWS Console or through the AWS CLI. For more information, see Sharing objects with presigned URLs .

.NET
Go
Java
Python
TypeScript