Skip to main content

applications

Creates, updates, deletes or gets an application resource or lists applications in a region

Overview

Nameapplications
TypeResource
DescriptionResource Type definition for AWS::AppStream::Application
Idaws.appstream.applications

Fields

NameDatatypeDescription
namestring
display_namestring
descriptionstring
launch_pathstring
launch_parametersstring
working_directorystring
instance_familiesarray
icon_s3_locationobject
arnstring
app_block_arnstring
platformsarray
tagsarray
attributes_to_deletearray
created_timestring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, IconS3Location, LaunchPath, Platforms, InstanceFamilies, AppBlockArn, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual application.

SELECT
region,
name,
display_name,
description,
launch_path,
launch_parameters,
working_directory,
instance_families,
icon_s3_location,
arn,
app_block_arn,
platforms,
tags,
attributes_to_delete,
created_time
FROM aws.appstream.applications
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

Use the following StackQL query and manifest file to create a new application resource, using stack-deploy.

/*+ create */
INSERT INTO aws.appstream.applications (
Name,
LaunchPath,
InstanceFamilies,
IconS3Location,
AppBlockArn,
Platforms,
region
)
SELECT
'{{ Name }}',
'{{ LaunchPath }}',
'{{ InstanceFamilies }}',
'{{ IconS3Location }}',
'{{ AppBlockArn }}',
'{{ Platforms }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.appstream.applications
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

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

Create

s3:GetObject,
appstream:CreateApplication,
appstream:TagResource

Read

appstream:DescribeApplications

Update

appstream:UpdateApplication,
s3:GetObject

Delete

appstream:DeleteApplication