Interface CfnMessageTemplate.MessageTemplateAttachmentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMessageTemplate.MessageTemplateAttachmentProperty.Jsii$Proxy
- Enclosing class:
CfnMessageTemplate
@Stability(Stable)
public static interface CfnMessageTemplate.MessageTemplateAttachmentProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.wisdom.*; MessageTemplateAttachmentProperty messageTemplateAttachmentProperty = MessageTemplateAttachmentProperty.builder() .attachmentName("attachmentName") .s3PresignedUrl("s3PresignedUrl") // the properties below are optional .attachmentId("attachmentId") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMessageTemplate.MessageTemplateAttachmentProperty
static final class
An implementation forCfnMessageTemplate.MessageTemplateAttachmentProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttachmentName
The name of the attachment file being uploaded.The name should include the file extension.
- See Also:
-
getS3PresignedUrl
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).
- See Also:
-
getAttachmentId
The identifier of the attachment file.- See Also:
-
builder
-