interface MessageTemplateAttachmentProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Wisdom.CfnMessageTemplatePropsMixin.MessageTemplateAttachmentProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awswisdom#CfnMessageTemplatePropsMixin_MessageTemplateAttachmentProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnMessageTemplatePropsMixin.MessageTemplateAttachmentProperty |
Python | aws_cdk.cfn_property_mixins.aws_wisdom.CfnMessageTemplatePropsMixin.MessageTemplateAttachmentProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_wisdom » 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 { aws_wisdom as wisdom } from '@aws-cdk/cfn-property-mixins';
const messageTemplateAttachmentProperty: wisdom.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