artifact_urls
Creates, updates, deletes, gets or lists an artifact_urls resource.
Overview
| Name | artifact_urls |
| Type | Resource |
| Id | aws.amplify.artifact_urls |
Fields
The following fields are returned by SELECT queries:
- get_artifact_url
| Name | Datatype | Description |
|---|---|---|
artifact_id | string | The unique ID for an artifact. (pattern: <code>(?s).*</code>) |
artifact_url | string | The presigned URL for the artifact. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_artifact_url | select | artifact_id, region | Returns the artifact info that corresponds to an artifact id. |
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 |
|---|---|---|
artifact_id | string | The unique ID for an artifact. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_artifact_url
Returns the artifact info that corresponds to an artifact id.
SELECT
artifact_id,
artifact_url
FROM aws.amplify.artifact_urls
WHERE artifact_id = '{{ artifact_id }}' -- required
AND region = '{{ region }}' -- required
;