Skip to content

/AWS1/CL_APS=>CREATEAPPLICATION()

About CreateApplication

Creates an application.

Applications are an Amazon AppStream 2.0 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.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/APSNAME /AWS1/APSNAME

The name of the application. This name is visible to users when display name is not specified.

IO_ICONS3LOCATION TYPE REF TO /AWS1/CL_APSS3LOCATION /AWS1/CL_APSS3LOCATION

The location in S3 of the application icon.

IV_LAUNCHPATH TYPE /AWS1/APSSTRING /AWS1/APSSTRING

The launch path of the application.

IT_PLATFORMS TYPE /AWS1/CL_APSPLATFORMS_W=>TT_PLATFORMS TT_PLATFORMS

The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.

IT_INSTANCEFAMILIES TYPE /AWS1/CL_APSSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.

IV_APPBLOCKARN TYPE /AWS1/APSARN /AWS1/APSARN

The app block ARN to which the application should be associated

Optional arguments:

IV_DISPLAYNAME TYPE /AWS1/APSDISPLAYNAME /AWS1/APSDISPLAYNAME

The display name of the application. This name is visible to users in the application catalog.

IV_DESCRIPTION TYPE /AWS1/APSDESCRIPTION /AWS1/APSDESCRIPTION

The description of the application.

IV_WORKINGDIRECTORY TYPE /AWS1/APSSTRING /AWS1/APSSTRING

The working directory of the application.

IV_LAUNCHPARAMETERS TYPE /AWS1/APSSTRING /AWS1/APSSTRING

The launch parameters of the application.

IT_TAGS TYPE /AWS1/CL_APSTAGS_W=>TT_TAGS TT_TAGS

The tags assigned to the application.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_APSCREAPPLICATIONRSLT /AWS1/CL_APSCREAPPLICATIONRSLT