drs / Client / create_launch_configuration_template

create_launch_configuration_template#

drs.Client.create_launch_configuration_template(**kwargs)#

Creates a new Launch Configuration Template.

See also: AWS API Documentation

Request Syntax

response = client.create_launch_configuration_template(
    copyPrivateIp=True|False,
    copyTags=True|False,
    launchDisposition='STOPPED'|'STARTED',
    licensing={
        'osByol': True|False
    },
    tags={
        'string': 'string'
    },
    targetInstanceTypeRightSizingMethod='NONE'|'BASIC'
)
Parameters:
  • copyPrivateIp (boolean) – Copy private IP.

  • copyTags (boolean) – Copy tags.

  • launchDisposition (string) – Launch disposition.

  • licensing (dict) –

    Licensing.

    • osByol (boolean) –

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

  • tags (dict) –

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

    • (string) –

      • (string) –

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

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • launchConfigurationTemplate (dict) –

      Created Launch Configuration Template.

      • arn (string) –

        ARN of the Launch Configuration Template.

      • copyPrivateIp (boolean) –

        Copy private IP.

      • copyTags (boolean) –

        Copy tags.

      • launchConfigurationTemplateID (string) –

        ID of the Launch Configuration Template.

      • launchDisposition (string) –

        Launch disposition.

      • licensing (dict) –

        Licensing.

        • osByol (boolean) –

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

      • tags (dict) –

        Tags of the Launch Configuration Template.

        • (string) –

          • (string) –

      • targetInstanceTypeRightSizingMethod (string) –

        Target instance type right-sizing method.

Exceptions

  • drs.Client.exceptions.InternalServerException

  • drs.Client.exceptions.ServiceQuotaExceededException

  • drs.Client.exceptions.ThrottlingException

  • drs.Client.exceptions.AccessDeniedException

  • drs.Client.exceptions.ValidationException

  • drs.Client.exceptions.UninitializedAccountException