CreateLaunchConfigurationTemplate - ApplicationMigrationService

CreateLaunchConfigurationTemplate

Creates a new Launch Configuration Template.

Request Syntax

POST /CreateLaunchConfigurationTemplate HTTP/1.1 Content-type: application/json { "postLaunchActions": { "cloudWatchLogGroupName": "string", "deployment": "string", "s3LogBucket": "string", "s3OutputKeyPrefix": "string", "ssmDocuments": [ { "actionName": "string", "mustSucceedForCutover": boolean, "parameters": { "string" : [ { "parameterName": "string", "parameterType": "string" } ] }, "ssmDocumentName": "string", "timeoutSeconds": number } ] }, "tags": { "string" : "string" } }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

postLaunchActions

Request to associate Post Launch Actions during creation of a Launch Configuration Template.

Type: PostLaunchActions object

Required: No

tags

Request to associate tags during creation of a Launch Configuration Template.

Type: String to string map

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

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

Required: No

Response Syntax

HTTP/1.1 201 Content-type: application/json { "arn": "string", "launchConfigurationTemplateID": "string", "postLaunchActions": { "cloudWatchLogGroupName": "string", "deployment": "string", "s3LogBucket": "string", "s3OutputKeyPrefix": "string", "ssmDocuments": [ { "actionName": "string", "mustSucceedForCutover": boolean, "parameters": { "string" : [ { "parameterName": "string", "parameterType": "string" } ] }, "ssmDocumentName": "string", "timeoutSeconds": number } ] }, "tags": { "string" : "string" } }

Response Elements

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

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

arn

ARN of the Launch Configuration Template.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

launchConfigurationTemplateID

ID of the Launch Configuration Template.

Type: String

Length Constraints: Fixed length of 21.

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

postLaunchActions

Post Launch Actions of the Launch Configuration Template.

Type: PostLaunchActions object

tags

Tags of the Launch Configuration Template.

Type: String to string map

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

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

Errors

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

AccessDeniedException

Operating denied due to a file permission or access check error.

HTTP Status Code: 403

UninitializedAccountException

Uninitialized account exception.

HTTP Status Code: 400

ValidationException

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