interface MessageTemplateAttachmentProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awswisdom#CfnMessageTemplate_MessageTemplateAttachmentProperty |
![]() | software.amazon.awscdk.services.wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty |
![]() | aws_cdk.aws_wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty |
![]() | aws-cdk-lib » aws_wisdom » CfnMessageTemplate » 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 { aws_wisdom as wisdom } from 'aws-cdk-lib';
const messageTemplateAttachmentProperty: wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty = {
attachmentName: 'attachmentName',
s3PresignedUrl: 's3PresignedUrl',
// the properties below are optional
attachmentId: 'attachmentId',
};
Properties
Name | Type | Description |
---|---|---|
attachment | string | The name of the attachment file being uploaded. |
s3 | string | The S3 Presigned URL for the attachment file. |
attachment | string | The identifier of the attachment file. |
attachmentName
Type:
string
The name of the attachment file being uploaded.
The name should include the file extension.
s3PresignedUrl
Type:
string
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 (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html).
attachmentId?
Type:
string
(optional)
The identifier of the attachment file.