Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . nimble ]

create-launch-profile

Description

Create a launch profile.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  create-launch-profile
[--client-token <value>]
[--description <value>]
--ec2-subnet-ids <value>
--launch-profile-protocol-versions <value>
--name <value>
--stream-configuration <value>
--studio-component-ids <value>
--studio-id <value>
[--tags <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--client-token (string)

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the AWS SDK automatically generates a client token and uses it for the request to ensure idempotency.

--description (string)

The description.

--ec2-subnet-ids (list)

Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.

(string)

Syntax:

"string" "string" ...

--launch-profile-protocol-versions (list)

The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

(string)

The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

Syntax:

"string" "string" ...

--name (string)

The name for the launch profile.

--stream-configuration (structure)

A configuration for a streaming session.

clipboardMode -> (string)

Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.

ec2InstanceTypes -> (list)

The EC2 instance types that users can select from when launching a streaming session with this launch profile.

(string)

maxSessionLengthInMinutes -> (integer)

The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

maxStoppedSessionLengthInMinutes -> (integer)

The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

streamingImageIds -> (list)

The streaming images that users can select from when launching a streaming session with this launch profile.

(string)

Shorthand Syntax:

clipboardMode=string,ec2InstanceTypes=string,string,maxSessionLengthInMinutes=integer,maxStoppedSessionLengthInMinutes=integer,streamingImageIds=string,string

JSON Syntax:

{
  "clipboardMode": "ENABLED"|"DISABLED",
  "ec2InstanceTypes": ["g4dn.xlarge"|"g4dn.2xlarge"|"g4dn.4xlarge"|"g4dn.8xlarge"|"g4dn.12xlarge"|"g4dn.16xlarge", ...],
  "maxSessionLengthInMinutes": integer,
  "maxStoppedSessionLengthInMinutes": integer,
  "streamingImageIds": ["string", ...]
}

--studio-component-ids (list)

Unique identifiers for a collection of studio components that can be used with this launch profile.

(string)

Syntax:

"string" "string" ...

--studio-id (string)

The studio ID.

--tags (map)

A collection of labels, in the form of key:value pairs, that apply to this resource.

key -> (string)

value -> (string)

Shorthand Syntax:

KeyName1=string,KeyName2=string

JSON Syntax:

{"string": "string"
  ...}

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

launchProfile -> (structure)

The launch profile.

arn -> (string)

The ARN of the resource.

createdAt -> (timestamp)

The Unix epoch timestamp in seconds for when the resource was created.

createdBy -> (string)

The user ID of the user that created the launch profile.

description -> (string)

A human-readable description of the launch profile.

ec2SubnetIds -> (list)

Unique identifiers for a collection of EC2 subnets.

(string)

launchProfileId -> (string)

The launch profile ID.

launchProfileProtocolVersions -> (list)

The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

(string)

The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

name -> (string)

A friendly name for the launch profile.

state -> (string)

The current state.

statusCode -> (string)

The status code.

statusMessage -> (string)

The status message for the launch profile.

streamConfiguration -> (structure)

A configuration for a streaming session.

clipboardMode -> (string)

Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.

ec2InstanceTypes -> (list)

The EC2 instance types that users can select from when launching a streaming session with this launch profile.

(string)

maxSessionLengthInMinutes -> (integer)

The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

maxStoppedSessionLengthInMinutes -> (integer)

Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession, the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

streamingImageIds -> (list)

The streaming images that users can select from when launching a streaming session with this launch profile.

(string)

studioComponentIds -> (list)

Unique identifiers for a collection of studio components that can be used with this launch profile.

(string)

tags -> (map)

A collection of labels, in the form of key:value pairs, that apply to this resource.

key -> (string)

value -> (string)

updatedAt -> (timestamp)

The Unix epoch timestamp in seconds for when the resource was updated.

updatedBy -> (string)

The user ID of the user that most recently updated the resource.