Skip to main content

applications

Creates, updates, deletes, gets or lists an applications resource.

Overview

Nameapplications
TypeResource
Idaws.workspaces.applications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
applicationsarrayList of information about the specified applications.
next_tokenstringIf you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_applicationsselectregionDescribes the specified applications by filtering based on their compute types, license availability, operating systems, and owners.
associate_workspace_applicationupdateregion, WorkspaceId, ApplicationIdAssociates the specified application to the specified WorkSpace.
deploy_workspace_applicationsexecregion, WorkspaceIdDeploys associated applications to the specified WorkSpace
disassociate_workspace_applicationexecregion, WorkspaceId, ApplicationIdDisassociates the specified application from a 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes the specified applications by filtering based on their compute types, license availability, operating systems, and owners.

SELECT
applications,
next_token
FROM aws.workspaces.applications
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Associates the specified application to the specified WorkSpace.

UPDATE aws.workspaces.applications
SET
WorkspaceId = '{{ WorkspaceId }}',
ApplicationId = '{{ ApplicationId }}'
WHERE
region = '{{ region }}' --required
AND WorkspaceId = '{{ WorkspaceId }}' --required
AND ApplicationId = '{{ ApplicationId }}' --required
RETURNING
association;

Lifecycle Methods

Deploys associated applications to the specified WorkSpace

EXEC aws.workspaces.applications.deploy_workspace_applications
@region='{{ region }}' --required
@@json=
'{
"WorkspaceId": "{{ WorkspaceId }}",
"Force": {{ Force }}
}'
;