GetLaunchConfiguration - Application Migration Service

GetLaunchConfiguration

Lists all LaunchConfigurations available, filtered by Source Server IDs.

Request Syntax

POST /GetLaunchConfiguration HTTP/1.1 Content-type: application/json { "sourceServerID": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

sourceServerID

Request to get Launch Configuration information by Source Server ID.

Type: String

Length Constraints: Fixed length of 19.

Pattern: ^s-[0-9a-zA-Z]{17}$

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "copyPrivateIp": boolean, "copyTags": boolean, "ec2LaunchTemplateID": "string", "launchDisposition": "string", "licensing": { "osByol": boolean }, "name": "string", "sourceServerID": "string", "targetInstanceTypeRightSizingMethod": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

copyPrivateIp

Copy Private IP during Launch Configuration.

Type: Boolean

copyTags

Copy Tags during Launch Configuration.

Type: Boolean

ec2LaunchTemplateID

Configure EC2 lauch configuration template ID.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

launchDisposition

Configure launch dispostion for launch configuration.

Type: String

Valid Values: STOPPED | STARTED

licensing

Configure launch configuration OS licensing.

Type: Licensing object

name

Configure launch configuration name.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 128.

sourceServerID

Configure launch configuration Source Server ID.

Type: String

Length Constraints: Fixed length of 19.

Pattern: ^s-[0-9a-zA-Z]{17}$

targetInstanceTypeRightSizingMethod

Configure launch configuration Target instance type right sizing method.

Type: String

Valid Values: NONE | BASIC

Errors

For information about the errors that are common to all actions, see Common Errors.

ResourceNotFoundException

Resource not found exception.

HTTP Status Code: 404

UninitializedAccountException

Unitialized account exception.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: