Skip to main content

environments

Retrieves a list of environments in a region

Overview

Nameenvironments
TypeResource
Descriptionenvironments
Idawscc.workspacesthinclient.environments

Fields

NameDatatypeDescription
idstringUnique identifier of the environment.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id
FROM awscc.workspacesthinclient.environments
WHERE region = 'us-east-1'

Permissions

To operate on the environments resource, the following permissions are required:

Create

thinclient:CreateEnvironment,
thinclient:TagResource,
thinclient:ListTagsForResource,
appstream:DescribeStacks,
workspaces:DescribeWorkspaceDirectories,
workspaces-web:GetPortal,
workspaces-web:GetUserSettings,
kms:DescribeKey,
kms:Encrypt,
kms:Decrypt,
kms:CreateGrant

List

thinclient:ListEnvironment,
thinclient:ListTagsForResource,
kms:DescribeKey,
kms:Encrypt,
kms:Decrypt