Skip to main content

case_attachment_download_urls

Creates, updates, deletes, gets or lists a case_attachment_download_urls resource.

Overview

Namecase_attachment_download_urls
TypeResource
Idaws.security_ir.case_attachment_download_urls

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
attachment_presigned_urlstringResponse 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:

NameAccessible byRequired ParamsOptional ParamsDescription
get_case_attachment_download_urlselectcase_id, attachment_id, regionReturns 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.

NameDatatypeDescription
attachment_idstringRequired element for GetCaseAttachmentDownloadUrl to identify the attachment ID for downloading an attachment.
case_idstringRequired element for GetCaseAttachmentDownloadUrl to identify the case ID for downloading an attachment from.
regionstringAWS region (default: us-east-1)

SELECT examples

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
;