workspace_snapshots
Creates, updates, deletes, gets or lists a workspace_snapshots resource.
Overview
| Name | workspace_snapshots |
| Type | Resource |
| Id | aws.workspaces.workspace_snapshots |
Fields
The following fields are returned by SELECT queries:
- describe_workspace_snapshots
| Name | Datatype | Description |
|---|---|---|
rebuild_snapshots | array | Information about the snapshots that can be used to rebuild a WorkSpace. These snapshots include the user volume. |
restore_snapshots | array | Information about the snapshots that can be used to restore a WorkSpace. These snapshots include both the root volume and the user volume. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_workspace_snapshots | select | region | Describes the snapshots for the specified WorkSpace. |
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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_workspace_snapshots
Describes the snapshots for the specified WorkSpace.
SELECT
rebuild_snapshots,
restore_snapshots
FROM aws.workspaces.workspace_snapshots
WHERE region = '{{ region }}' -- required
;