mgn.Client.
get_launch_configuration
(**kwargs)¶Lists all LaunchConfigurations available, filtered by Source Server IDs.
See also: AWS API Documentation
Request Syntax
response = client.get_launch_configuration(
sourceServerID='string'
)
[REQUIRED]
Request to get Launch Configuration information by Source Server ID.
{
'bootMode': 'LEGACY_BIOS'|'UEFI',
'copyPrivateIp': True|False,
'copyTags': True|False,
'ec2LaunchTemplateID': 'string',
'enableMapAutoTagging': True|False,
'launchDisposition': 'STOPPED'|'STARTED',
'licensing': {
'osByol': True|False
},
'mapAutoTaggingMpeID': 'string',
'name': 'string',
'postLaunchActions': {
'cloudWatchLogGroupName': 'string',
'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
's3LogBucket': 'string',
's3OutputKeyPrefix': 'string',
'ssmDocuments': [
{
'actionName': 'string',
'mustSucceedForCutover': True|False,
'parameters': {
'string': [
{
'parameterName': 'string',
'parameterType': 'STRING'
},
]
},
'ssmDocumentName': 'string',
'timeoutSeconds': 123
},
]
},
'sourceServerID': 'string',
'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'
}
Response Structure
Launch configuration boot mode.
Copy Private IP during Launch Configuration.
Copy Tags during Launch Configuration.
Launch configuration EC2 Launch template ID.
Enable map auto tagging.
Launch disposition for launch configuration.
Launch configuration OS licensing.
Configure BYOL OS licensing.
Map auto tagging MPE ID.
Launch configuration name.
Post Launch Actions to executed on the Test or Cutover instance.
AWS Systems Manager Command's CloudWatch log group name.
Deployment type in which AWS Systems Manager Documents will be executed.
AWS Systems Manager Command's logs S3 log bucket.
AWS Systems Manager Command's logs S3 output key prefix.
AWS Systems Manager Documents.
AWS Systems Manager Document.
User-friendly name for the AWS Systems Manager Document.
If true, Cutover will not be enabled if the document has failed.
AWS Systems Manager Document parameters.
AWS Systems Manager Parameter Store parameter.
AWS Systems Manager Parameter Store parameter name.
AWS Systems Manager Parameter Store parameter type.
AWS Systems Manager Document name or full ARN.
AWS Systems Manager Document timeout seconds.
Launch configuration Source Server ID.
Launch configuration Target instance type right sizing method.
Exceptions
mgn.Client.exceptions.UninitializedAccountException
mgn.Client.exceptions.ResourceNotFoundException