case_attachment_download_urls
Creates, updates, deletes, gets or lists a case_attachment_download_urls resource.
Overview
| Name | case_attachment_download_urls |
| Type | Resource |
| Id | aws.security_ir.case_attachment_download_urls |
Fields
The following fields are returned by SELECT queries:
- get_case_attachment_download_url
| Name | Datatype | Description |
|---|---|---|
attachment_presigned_url | string | Response element providing the Amazon S3 presigned URL to download an attachment. (pattern: <code>https?://(?:www.)?[a-zA-Z0-9@:.+~#=-]{2,256}.[a-z]{2,6}\b(?:[-a-zA-Z0-9@:%+.~#?&/=]{0,2048})</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_case_attachment_download_url | select | case_id, attachment_id, region | Returns a Pre-Signed URL for uploading attachments into a case. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
attachment_id | string | Required element for GetCaseAttachmentDownloadUrl to identify the attachment ID for downloading an attachment. |
case_id | string | Required element for GetCaseAttachmentDownloadUrl to identify the case ID for downloading an attachment from. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_case_attachment_download_url
Returns a Pre-Signed URL for uploading attachments into a case.
SELECT
attachment_presigned_url
FROM aws.security_ir.case_attachment_download_urls
WHERE case_id = '{{ case_id }}' -- required
AND attachment_id = '{{ attachment_id }}' -- required
AND region = '{{ region }}' -- required
;