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

update-launch-configuration

Description

Updates a LaunchConfiguration 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)

Whether we should copy the Private IP of the Source Server to the Recovery Instance.

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

Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.

--launch-disposition (string)

The state of the Recovery Instance in EC2 after the recovery operation.

Possible values:

  • STOPPED
  • STARTED

--licensing (structure)

The licensing configuration to be used for this launch configuration.

osByol -> (boolean)

Whether to enable "Bring your own license" or not.

Shorthand Syntax:

osByol=boolean

JSON Syntax:

{
  "osByol": true|false
}

--name (string)

The name of the launch configuration.

--source-server-id (string)

The ID of the Source Server that we want to retrieve a Launch Configuration for.

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

Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.

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)

Whether we should copy the Private IP of the Source Server to the Recovery Instance.

copyTags -> (boolean)

Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.

ec2LaunchTemplateID -> (string)

The EC2 launch template ID of this launch configuration.

launchDisposition -> (string)

The state of the Recovery Instance in EC2 after the recovery operation.

licensing -> (structure)

The licensing configuration to be used for this launch configuration.

osByol -> (boolean)

Whether to enable "Bring your own license" or not.

name -> (string)

The name of the launch configuration.

sourceServerID -> (string)

The ID of the Source Server for this launch configuration.

targetInstanceTypeRightSizingMethod -> (string)

Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.