drs / Client / update_launch_configuration_template

update_launch_configuration_template#

drs.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(
    copyPrivateIp=True|False,
    copyTags=True|False,
    exportBucketArn='string',
    launchConfigurationTemplateID='string',
    launchDisposition='STOPPED'|'STARTED',
    launchIntoSourceInstance=True|False,
    licensing={
        'osByol': True|False
    },
    postLaunchEnabled=True|False,
    targetInstanceTypeRightSizingMethod='NONE'|'BASIC'|'IN_AWS'
)
Parameters:
  • copyPrivateIp (boolean) – Copy private IP.

  • copyTags (boolean) – Copy tags.

  • exportBucketArn (string) – S3 bucket ARN to export Source Network templates.

  • launchConfigurationTemplateID (string) –

    [REQUIRED]

    Launch Configuration Template ID.

  • launchDisposition (string) – Launch disposition.

  • launchIntoSourceInstance (boolean) – DRS will set the ‘launch into instance ID’ of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.

  • licensing (dict) –

    Licensing.

    • osByol (boolean) –

      Whether to enable “Bring your own license” or not.

  • postLaunchEnabled (boolean) – Whether we want to activate post-launch actions.

  • targetInstanceTypeRightSizingMethod (string) – Target instance type right-sizing method.

Return type:

dict

Returns:

Response Syntax

{
    'launchConfigurationTemplate': {
        'arn': 'string',
        'copyPrivateIp': True|False,
        'copyTags': True|False,
        'exportBucketArn': 'string',
        'launchConfigurationTemplateID': 'string',
        'launchDisposition': 'STOPPED'|'STARTED',
        'launchIntoSourceInstance': True|False,
        'licensing': {
            'osByol': True|False
        },
        'postLaunchEnabled': True|False,
        'tags': {
            'string': 'string'
        },
        'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'|'IN_AWS'
    }
}

Response Structure

  • (dict) –

    • launchConfigurationTemplate (dict) –

      Updated Launch Configuration Template.

      • arn (string) –

        ARN of the Launch Configuration Template.

      • copyPrivateIp (boolean) –

        Copy private IP.

      • copyTags (boolean) –

        Copy tags.

      • exportBucketArn (string) –

        S3 bucket ARN to export Source Network templates.

      • launchConfigurationTemplateID (string) –

        ID of the Launch Configuration Template.

      • launchDisposition (string) –

        Launch disposition.

      • launchIntoSourceInstance (boolean) –

        DRS will set the ‘launch into instance ID’ of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.

      • licensing (dict) –

        Licensing.

        • osByol (boolean) –

          Whether to enable “Bring your own license” or not.

      • postLaunchEnabled (boolean) –

        Post-launch actions activated.

      • tags (dict) –

        Tags of the Launch Configuration Template.

        • (string) –

          • (string) –

      • targetInstanceTypeRightSizingMethod (string) –

        Target instance type right-sizing method.

Exceptions