Skip to content

/AWS1/CL_APS=>CREATEAPPBLOCK()

About CreateAppBlock

Creates an app block.

App blocks are an Amazon AppStream 2.0 resource that stores the details about the virtual hard disk in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. The virtual hard disk includes the application binaries and other files necessary to launch your applications. Multiple applications can be assigned to a single app block.

This is only supported for Elastic fleets.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/APSNAME /AWS1/APSNAME

The name of the app block.

IO_SOURCES3LOCATION TYPE REF TO /AWS1/CL_APSS3LOCATION /AWS1/CL_APSS3LOCATION

The source S3 location of the app block.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/APSDESCRIPTION /AWS1/APSDESCRIPTION

The description of the app block.

IV_DISPLAYNAME TYPE /AWS1/APSDISPLAYNAME /AWS1/APSDISPLAYNAME

The display name of the app block. This is not displayed to the user.

IO_SETUPSCRIPTDETAILS TYPE REF TO /AWS1/CL_APSSCRIPTDETAILS /AWS1/CL_APSSCRIPTDETAILS

The setup script details of the app block. This must be provided for the CUSTOM PackagingType.

IT_TAGS TYPE /AWS1/CL_APSTAGS_W=>TT_TAGS TT_TAGS

The tags assigned to the app block.

IO_POSTSETUPSCRIPTDETAILS TYPE REF TO /AWS1/CL_APSSCRIPTDETAILS /AWS1/CL_APSSCRIPTDETAILS

The post setup script details of the app block. This can only be provided for the APPSTREAM2 PackagingType.

IV_PACKAGINGTYPE TYPE /AWS1/APSPACKAGINGTYPE /AWS1/APSPACKAGINGTYPE

The packaging type of the app block.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_APSCREATEAPPBLOCKRSLT /AWS1/CL_APSCREATEAPPBLOCKRSLT