Skip to main content

workspaces_connection_status

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

Overview

Nameworkspaces_connection_status
TypeResource
Idaws.workspaces.workspaces_connection_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
connection_statestringThe connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped. (CONNECTED, DISCONNECTED, UNKNOWN)
connection_state_check_timestampstring (date-time)The timestamp of the connection status check.
last_known_user_connection_timestampstring (date-time)The timestamp of the last known user connection.
workspace_idstringThe identifier of the WorkSpace. (pattern: <code>^ws-[0-9a-z]{8,63}$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_workspaces_connection_statusselectregionDescribes the connection status of the specified WorkSpaces.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Describes the connection status of the specified WorkSpaces.

SELECT
connection_state,
connection_state_check_timestamp,
last_known_user_connection_timestamp,
workspace_id
FROM aws.workspaces.workspaces_connection_status
WHERE region = '{{ region }}' -- required
;