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 . mgn ]

update-launch-configuration

Description

Updates multiple LaunchConfigurations by Source Server ID.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  update-launch-configuration
[--copy-private-ip | --no-copy-private-ip]
[--copy-tags | --no-copy-tags]
[--launch-disposition <value>]
[--licensing <value>]
[--name <value>]
--source-server-id <value>
[--target-instance-type-right-sizing-method <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--copy-private-ip | --no-copy-private-ip (boolean)

Update Launch configuration copy Private IP request.

--copy-tags | --no-copy-tags (boolean)

Update Launch configuration copy Tags request.

--launch-disposition (string)

Update Launch configuration launch disposition request.

Possible values:

  • STOPPED
  • STARTED

--licensing (structure)

Update Launch configuration licensing request.

osByol -> (boolean)

Configure BYOL OS licensing.

Shorthand Syntax:

osByol=boolean

JSON Syntax:

{
  "osByol": true|false
}

--name (string)

Update Launch configuration name request.

--source-server-id (string)

Update Launch configuration by Source Server ID request.

--target-instance-type-right-sizing-method (string)

Update Launch configuration Target instance right sizing request.

Possible values:

  • NONE
  • BASIC

--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

copyPrivateIp -> (boolean)

Copy Private IP during Launch Configuration.

copyTags -> (boolean)

Copy Tags during Launch Configuration.

ec2LaunchTemplateID -> (string)

Configure EC2 lauch configuration template ID.

launchDisposition -> (string)

Configure launch dispostion for launch configuration.

licensing -> (structure)

Configure launch configuration OS licensing.

osByol -> (boolean)

Configure BYOL OS licensing.

name -> (string)

Configure launch configuration name.

sourceServerID -> (string)

Configure launch configuration Source Server ID.

targetInstanceTypeRightSizingMethod -> (string)

Configure launch configuration Target instance type right sizing method.