mgn.Client.
update_launch_configuration_template
(**kwargs)¶Updates an existing Launch Configuration Template by ID.
See also: AWS API Documentation
Request Syntax
response = client.update_launch_configuration_template(
associatePublicIpAddress=True|False,
bootMode='LEGACY_BIOS'|'UEFI',
copyPrivateIp=True|False,
copyTags=True|False,
enableMapAutoTagging=True|False,
largeVolumeConf={
'iops': 123,
'throughput': 123,
'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
},
launchConfigurationTemplateID='string',
launchDisposition='STOPPED'|'STARTED',
licensing={
'osByol': True|False
},
mapAutoTaggingMpeID='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
},
]
},
smallVolumeConf={
'iops': 123,
'throughput': 123,
'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
},
smallVolumeMaxSize=123,
targetInstanceTypeRightSizingMethod='NONE'|'BASIC'
)
Large volume config.
Launch template disk iops configuration.
Launch template disk throughput configuration.
Launch template disk volume type configuration.
[REQUIRED]
Launch Configuration Template ID.
Configure Licensing.
Configure BYOL OS licensing.
Post Launch Action to execute 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.
Small volume config.
Launch template disk iops configuration.
Launch template disk throughput configuration.
Launch template disk volume type configuration.
dict
Response Syntax
{
'arn': 'string',
'associatePublicIpAddress': True|False,
'bootMode': 'LEGACY_BIOS'|'UEFI',
'copyPrivateIp': True|False,
'copyTags': True|False,
'ec2LaunchTemplateID': 'string',
'enableMapAutoTagging': True|False,
'largeVolumeConf': {
'iops': 123,
'throughput': 123,
'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
},
'launchConfigurationTemplateID': 'string',
'launchDisposition': 'STOPPED'|'STARTED',
'licensing': {
'osByol': True|False
},
'mapAutoTaggingMpeID': '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
},
]
},
'smallVolumeConf': {
'iops': 123,
'throughput': 123,
'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
},
'smallVolumeMaxSize': 123,
'tags': {
'string': 'string'
},
'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'
}
Response Structure
(dict) --
arn (string) --
ARN of the Launch Configuration Template.
associatePublicIpAddress (boolean) --
Associate public Ip address.
bootMode (string) --
Launch configuration template boot mode.
copyPrivateIp (boolean) --
Copy private Ip.
copyTags (boolean) --
Copy tags.
ec2LaunchTemplateID (string) --
EC2 launch template ID.
enableMapAutoTagging (boolean) --
Enable map auto tagging.
largeVolumeConf (dict) --
Large volume config.
iops (integer) --
Launch template disk iops configuration.
throughput (integer) --
Launch template disk throughput configuration.
volumeType (string) --
Launch template disk volume type configuration.
launchConfigurationTemplateID (string) --
ID of the Launch Configuration Template.
launchDisposition (string) --
Launch disposition.
licensing (dict) --
Configure Licensing.
osByol (boolean) --
Configure BYOL OS licensing.
mapAutoTaggingMpeID (string) --
Launch configuration template map auto tagging MPE ID.
postLaunchActions (dict) --
Post Launch Actions of the Launch Configuration Template.
cloudWatchLogGroupName (string) --
AWS Systems Manager Command's CloudWatch log group name.
deployment (string) --
Deployment type in which AWS Systems Manager Documents will be executed.
s3LogBucket (string) --
AWS Systems Manager Command's logs S3 log bucket.
s3OutputKeyPrefix (string) --
AWS Systems Manager Command's logs S3 output key prefix.
ssmDocuments (list) --
AWS Systems Manager Documents.
(dict) --
AWS Systems Manager Document.
actionName (string) --
User-friendly name for the AWS Systems Manager Document.
mustSucceedForCutover (boolean) --
If true, Cutover will not be enabled if the document has failed.
parameters (dict) --
AWS Systems Manager Document parameters.
(string) --
(list) --
(dict) --
AWS Systems Manager Parameter Store parameter.
parameterName (string) --
AWS Systems Manager Parameter Store parameter name.
parameterType (string) --
AWS Systems Manager Parameter Store parameter type.
ssmDocumentName (string) --
AWS Systems Manager Document name or full ARN.
timeoutSeconds (integer) --
AWS Systems Manager Document timeout seconds.
smallVolumeConf (dict) --
Small volume config.
iops (integer) --
Launch template disk iops configuration.
throughput (integer) --
Launch template disk throughput configuration.
volumeType (string) --
Launch template disk volume type configuration.
smallVolumeMaxSize (integer) --
Small volume maximum size.
tags (dict) --
Tags of the Launch Configuration Template.
targetInstanceTypeRightSizingMethod (string) --
Target instance type right-sizing method.
Exceptions
mgn.Client.exceptions.UninitializedAccountException
mgn.Client.exceptions.ResourceNotFoundException
mgn.Client.exceptions.ValidationException
mgn.Client.exceptions.AccessDeniedException