Skip to content

Create Application

appstream_create_application R Documentation

Creates an application

Description

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.

Usage

appstream_create_application(Name, DisplayName, Description,
  IconS3Location, LaunchPath, WorkingDirectory, LaunchParameters,
  Platforms, InstanceFamilies, AppBlockArn, Tags)

Arguments

Name

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

DisplayName

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

Description

The description of the application.

IconS3Location

[required] The location in S3 of the application icon.

LaunchPath

[required] The launch path of the application.

WorkingDirectory

The working directory of the application.

LaunchParameters

The launch parameters of the application.

Platforms

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

InstanceFamilies

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

AppBlockArn

[required] The app block ARN to which the application should be associated

Tags

The tags assigned to the application.

Value

A list with the following syntax:

list(
  Application = list(
    Name = "string",
    DisplayName = "string",
    IconURL = "string",
    LaunchPath = "string",
    LaunchParameters = "string",
    Enabled = TRUE|FALSE,
    Metadata = list(
      "string"
    ),
    WorkingDirectory = "string",
    Description = "string",
    Arn = "string",
    AppBlockArn = "string",
    IconS3Location = list(
      S3Bucket = "string",
      S3Key = "string"
    ),
    Platforms = list(
      "WINDOWS"|"WINDOWS_SERVER_2016"|"WINDOWS_SERVER_2019"|"WINDOWS_SERVER_2022"|"AMAZON_LINUX2"|"RHEL8"
    ),
    InstanceFamilies = list(
      "string"
    ),
    CreatedTime = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$create_application(
  Name = "string",
  DisplayName = "string",
  Description = "string",
  IconS3Location = list(
    S3Bucket = "string",
    S3Key = "string"
  ),
  LaunchPath = "string",
  WorkingDirectory = "string",
  LaunchParameters = "string",
  Platforms = list(
    "WINDOWS"|"WINDOWS_SERVER_2016"|"WINDOWS_SERVER_2019"|"WINDOWS_SERVER_2022"|"AMAZON_LINUX2"|"RHEL8"
  ),
  InstanceFamilies = list(
    "string"
  ),
  AppBlockArn = "string",
  Tags = list(
    "string"
  )
)