Skip to content

Update Launch Configuration

drs_update_launch_configuration R Documentation

Updates a LaunchConfiguration by Source Server ID

Description

Updates a LaunchConfiguration by Source Server ID.

Usage

drs_update_launch_configuration(copyPrivateIp, copyTags,
  launchDisposition, launchIntoInstanceProperties, licensing, name,
  postLaunchEnabled, sourceServerID, targetInstanceTypeRightSizingMethod)

Arguments

copyPrivateIp

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

copyTags

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

launchDisposition

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

launchIntoInstanceProperties

Launch into existing instance properties.

licensing

The licensing configuration to be used for this launch configuration.

name

The name of the launch configuration.

postLaunchEnabled

Whether we want to enable post-launch actions for the Source Server.

sourceServerID

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

targetInstanceTypeRightSizingMethod

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

Value

A list with the following syntax:

list(
  copyPrivateIp = TRUE|FALSE,
  copyTags = TRUE|FALSE,
  ec2LaunchTemplateID = "string",
  launchDisposition = "STOPPED"|"STARTED",
  launchIntoInstanceProperties = list(
    launchIntoEC2InstanceID = "string"
  ),
  licensing = list(
    osByol = TRUE|FALSE
  ),
  name = "string",
  postLaunchEnabled = TRUE|FALSE,
  sourceServerID = "string",
  targetInstanceTypeRightSizingMethod = "NONE"|"BASIC"|"IN_AWS"
)

Request syntax

svc$update_launch_configuration(
  copyPrivateIp = TRUE|FALSE,
  copyTags = TRUE|FALSE,
  launchDisposition = "STOPPED"|"STARTED",
  launchIntoInstanceProperties = list(
    launchIntoEC2InstanceID = "string"
  ),
  licensing = list(
    osByol = TRUE|FALSE
  ),
  name = "string",
  postLaunchEnabled = TRUE|FALSE,
  sourceServerID = "string",
  targetInstanceTypeRightSizingMethod = "NONE"|"BASIC"|"IN_AWS"
)