Skip to main content

applications

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

Overview

Nameapplications
TypeResource
Idaws.appstream.applications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
applicationsarrayThe applications in the list.
next_tokenstringThe pagination token used to retrieve the next page of results for this operation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_applicationsselectregionRetrieves a list that describes one or more applications.
create_applicationinsertregion, Name, IconS3Location, LaunchPath, Platforms, InstanceFamilies, AppBlockArnCreates an application. Applications are a WorkSpaces Applications resource that stores the details about how to launch applications on Elastic fleet streaming instances. An application consists of the launch details, icon, and display name. Applications are associated with an app block that contains the application binaries and other files. The applications assigned to an Elastic fleet are the applications users can launch. This is only supported for Elastic fleets.
update_applicationupdateregion, NameUpdates the specified application.
delete_applicationdeleteregionDeletes an application.

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

Retrieves a list that describes one or more applications.

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

INSERT examples

Creates an application. Applications are a WorkSpaces Applications resource that stores the details about how to launch applications on Elastic fleet streaming instances. An application consists of the launch details, icon, and display name. Applications are associated with an app block that contains the application binaries and other files. The applications assigned to an Elastic fleet are the applications users can launch. This is only supported for Elastic fleets.

INSERT INTO aws.appstream.applications (
Name,
DisplayName,
Description,
IconS3Location,
LaunchPath,
WorkingDirectory,
LaunchParameters,
Platforms,
InstanceFamilies,
AppBlockArn,
Tags,
region
)
SELECT
'{{ Name }}' /* required */,
'{{ DisplayName }}',
'{{ Description }}',
'{{ IconS3Location }}' /* required */,
'{{ LaunchPath }}' /* required */,
'{{ WorkingDirectory }}',
'{{ LaunchParameters }}',
'{{ Platforms }}' /* required */,
'{{ InstanceFamilies }}' /* required */,
'{{ AppBlockArn }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
application
;

UPDATE examples

Updates the specified application.

UPDATE aws.appstream.applications
SET
Name = '{{ Name }}',
DisplayName = '{{ DisplayName }}',
Description = '{{ Description }}',
IconS3Location = '{{ IconS3Location }}',
LaunchPath = '{{ LaunchPath }}',
WorkingDirectory = '{{ WorkingDirectory }}',
LaunchParameters = '{{ LaunchParameters }}',
AppBlockArn = '{{ AppBlockArn }}',
AttributesToDelete = '{{ AttributesToDelete }}'
WHERE
region = '{{ region }}' --required
AND Name = '{{ Name }}' --required
RETURNING
application;

DELETE examples

Deletes an application.

DELETE FROM aws.appstream.applications
WHERE region = '{{ region }}' --required
;