Application Migration Service

2026/12/01 - Application Migration Service - 5 updated api methods

Changes  Adds support for the gp3a and io2a EBS volume types in launch configuration templates and launch configuration defaults.

CreateLaunchConfigurationTemplate (updated) Link ¶
Changes (both)
{'largeVolumeConf': {'volumeType': {'io2a', 'gp3a'}},
 'smallVolumeConf': {'volumeType': {'io2a', 'gp3a'}}}

Creates a new Launch Configuration Template.

See also: AWS API Documentation

Request Syntax

client.create_launch_configuration_template(
    postLaunchActions={
        'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
        's3LogBucket': 'string',
        's3OutputKeyPrefix': 'string',
        'cloudWatchLogGroupName': 'string',
        'ssmDocuments': [
            {
                'actionName': 'string',
                'ssmDocumentName': 'string',
                'timeoutSeconds': 123,
                'mustSucceedForCutover': True|False,
                'parameters': {
                    'string': [
                        {
                            'parameterType': 'STRING'|'SECURE_STRING',
                            'parameterName': 'string'
                        },
                    ]
                },
                'externalParameters': {
                    'string': {
                        'dynamicPath': 'string'
                    }
                }
            },
        ]
    },
    enableMapAutoTagging=True|False,
    mapAutoTaggingMpeID='string',
    mapAutoTaggingKey='string',
    tags={
        'string': 'string'
    },
    launchDisposition='STOPPED'|'STARTED',
    targetInstanceTypeRightSizingMethod='NONE'|'BASIC',
    copyPrivateIp=True|False,
    associatePublicIpAddress=True|False,
    copyTags=True|False,
    licensing={
        'osByol': True|False
    },
    bootMode='LEGACY_BIOS'|'UEFI'|'USE_SOURCE',
    smallVolumeMaxSize=123,
    smallVolumeConf={
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': True|False
    },
    largeVolumeConf={
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': True|False
    },
    enableParametersEncryption=True|False,
    parametersEncryptionKey='string'
)
type postLaunchActions:

dict

param postLaunchActions:

Launch configuration template post launch actions.

  • 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.

  • cloudWatchLogGroupName (string) --

    AWS Systems Manager Command's CloudWatch log group name.

  • ssmDocuments (list) --

    AWS Systems Manager Documents.

    • (dict) --

      AWS Systems Manager Document.

      • actionName (string) -- [REQUIRED]

        User-friendly name for the AWS Systems Manager Document.

      • ssmDocumentName (string) -- [REQUIRED]

        AWS Systems Manager Document name or full ARN.

      • timeoutSeconds (integer) --

        AWS Systems Manager Document timeout seconds.

      • 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.

              • parameterType (string) -- [REQUIRED]

                AWS Systems Manager Parameter Store parameter type.

              • parameterName (string) -- [REQUIRED]

                AWS Systems Manager Parameter Store parameter name.

      • externalParameters (dict) --

        AWS Systems Manager Document external parameters.

        • (string) --

          • (dict) --

            AWS Systems Manager Document external parameter.

            • dynamicPath (string) --

              AWS Systems Manager Document external parameters dynamic path.

type enableMapAutoTagging:

boolean

param enableMapAutoTagging:

Enable map auto tagging.

type mapAutoTaggingMpeID:

string

param mapAutoTaggingMpeID:

Launch configuration template map auto tagging MPE ID.

type mapAutoTaggingKey:

string

param mapAutoTaggingKey:

Launch configuration template map auto tagging key.

type tags:

dict

param tags:

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

  • (string) --

    • (string) --

type launchDisposition:

string

param launchDisposition:

Launch disposition.

type targetInstanceTypeRightSizingMethod:

string

param targetInstanceTypeRightSizingMethod:

Target instance type right-sizing method.

type copyPrivateIp:

boolean

param copyPrivateIp:

Copy private Ip.

type associatePublicIpAddress:

boolean

param associatePublicIpAddress:

Associate public Ip address.

type copyTags:

boolean

param copyTags:

Copy tags.

type licensing:

dict

param licensing:

Configure Licensing.

  • osByol (boolean) --

    Configure BYOL OS licensing.

type bootMode:

string

param bootMode:

Launch configuration template boot mode.

type smallVolumeMaxSize:

integer

param smallVolumeMaxSize:

Small volume maximum size.

type smallVolumeConf:

dict

param smallVolumeConf:

Small volume config.

  • volumeType (string) --

    Launch template disk volume type configuration.

  • iops (integer) --

    Launch template disk iops configuration.

  • throughput (integer) --

    Launch template disk throughput configuration.

  • volumeInitializationRate (integer) --

    Launch template disk volume initialization rate configuration.

  • deleteOnTermination (boolean) --

    Launch template disk delete on termination configuration.

type largeVolumeConf:

dict

param largeVolumeConf:

Large volume config.

  • volumeType (string) --

    Launch template disk volume type configuration.

  • iops (integer) --

    Launch template disk iops configuration.

  • throughput (integer) --

    Launch template disk throughput configuration.

  • volumeInitializationRate (integer) --

    Launch template disk volume initialization rate configuration.

  • deleteOnTermination (boolean) --

    Launch template disk delete on termination configuration.

type enableParametersEncryption:

boolean

param enableParametersEncryption:

Enable parameters encryption.

type parametersEncryptionKey:

string

param parametersEncryptionKey:

Parameters encryption key.

rtype:

dict

returns:

Response Syntax

{
    'launchConfigurationTemplateID': 'string',
    'arn': 'string',
    'postLaunchActions': {
        'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
        's3LogBucket': 'string',
        's3OutputKeyPrefix': 'string',
        'cloudWatchLogGroupName': 'string',
        'ssmDocuments': [
            {
                'actionName': 'string',
                'ssmDocumentName': 'string',
                'timeoutSeconds': 123,
                'mustSucceedForCutover': True|False,
                'parameters': {
                    'string': [
                        {
                            'parameterType': 'STRING'|'SECURE_STRING',
                            'parameterName': 'string'
                        },
                    ]
                },
                'externalParameters': {
                    'string': {
                        'dynamicPath': 'string'
                    }
                }
            },
        ]
    },
    'enableMapAutoTagging': True|False,
    'mapAutoTaggingMpeID': 'string',
    'mapAutoTaggingKey': 'string',
    'tags': {
        'string': 'string'
    },
    'ec2LaunchTemplateID': 'string',
    'launchDisposition': 'STOPPED'|'STARTED',
    'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC',
    'copyPrivateIp': True|False,
    'associatePublicIpAddress': True|False,
    'copyTags': True|False,
    'licensing': {
        'osByol': True|False
    },
    'bootMode': 'LEGACY_BIOS'|'UEFI'|'USE_SOURCE',
    'smallVolumeMaxSize': 123,
    'smallVolumeConf': {
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': True|False
    },
    'largeVolumeConf': {
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': True|False
    },
    'enableParametersEncryption': True|False,
    'parametersEncryptionKey': 'string'
}

Response Structure

  • (dict) --

    • launchConfigurationTemplateID (string) --

      ID of the Launch Configuration Template.

    • arn (string) --

      ARN of the Launch Configuration Template.

    • postLaunchActions (dict) --

      Post Launch Actions of the Launch Configuration Template.

      • 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.

      • cloudWatchLogGroupName (string) --

        AWS Systems Manager Command's CloudWatch log group name.

      • ssmDocuments (list) --

        AWS Systems Manager Documents.

        • (dict) --

          AWS Systems Manager Document.

          • actionName (string) --

            User-friendly name for the AWS Systems Manager Document.

          • ssmDocumentName (string) --

            AWS Systems Manager Document name or full ARN.

          • timeoutSeconds (integer) --

            AWS Systems Manager Document timeout seconds.

          • 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.

                  • parameterType (string) --

                    AWS Systems Manager Parameter Store parameter type.

                  • parameterName (string) --

                    AWS Systems Manager Parameter Store parameter name.

          • externalParameters (dict) --

            AWS Systems Manager Document external parameters.

            • (string) --

              • (dict) --

                AWS Systems Manager Document external parameter.

                • dynamicPath (string) --

                  AWS Systems Manager Document external parameters dynamic path.

    • enableMapAutoTagging (boolean) --

      Enable map auto tagging.

    • mapAutoTaggingMpeID (string) --

      Launch configuration template map auto tagging MPE ID.

    • mapAutoTaggingKey (string) --

      Launch configuration template map auto tagging key.

    • tags (dict) --

      Tags of the Launch Configuration Template.

      • (string) --

        • (string) --

    • ec2LaunchTemplateID (string) --

      EC2 launch template ID.

    • launchDisposition (string) --

      Launch disposition.

    • targetInstanceTypeRightSizingMethod (string) --

      Target instance type right-sizing method.

    • copyPrivateIp (boolean) --

      Copy private Ip.

    • associatePublicIpAddress (boolean) --

      Associate public Ip address.

    • copyTags (boolean) --

      Copy tags.

    • licensing (dict) --

      Configure Licensing.

      • osByol (boolean) --

        Configure BYOL OS licensing.

    • bootMode (string) --

      Launch configuration template boot mode.

    • smallVolumeMaxSize (integer) --

      Small volume maximum size.

    • smallVolumeConf (dict) --

      Small volume config.

      • volumeType (string) --

        Launch template disk volume type configuration.

      • iops (integer) --

        Launch template disk iops configuration.

      • throughput (integer) --

        Launch template disk throughput configuration.

      • volumeInitializationRate (integer) --

        Launch template disk volume initialization rate configuration.

      • deleteOnTermination (boolean) --

        Launch template disk delete on termination configuration.

    • largeVolumeConf (dict) --

      Large volume config.

      • volumeType (string) --

        Launch template disk volume type configuration.

      • iops (integer) --

        Launch template disk iops configuration.

      • throughput (integer) --

        Launch template disk throughput configuration.

      • volumeInitializationRate (integer) --

        Launch template disk volume initialization rate configuration.

      • deleteOnTermination (boolean) --

        Launch template disk delete on termination configuration.

    • enableParametersEncryption (boolean) --

      Enable parameters encryption.

    • parametersEncryptionKey (string) --

      Parameters encryption key.

DescribeLaunchConfigurationTemplates (updated) Link ¶
Changes (response)
{'items': {'largeVolumeConf': {'volumeType': {'io2a', 'gp3a'}},
           'smallVolumeConf': {'volumeType': {'io2a', 'gp3a'}}}}

Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs

See also: AWS API Documentation

Request Syntax

client.describe_launch_configuration_templates(
    launchConfigurationTemplateIDs=[
        'string',
    ],
    maxResults=123,
    nextToken='string'
)
type launchConfigurationTemplateIDs:

list

param launchConfigurationTemplateIDs:

Request to filter Launch Configuration Templates list by Launch Configuration Template ID.

  • (string) --

type maxResults:

integer

param maxResults:

Maximum results to be returned in DescribeLaunchConfigurationTemplates.

type nextToken:

string

param nextToken:

Next pagination token returned from DescribeLaunchConfigurationTemplates.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'launchConfigurationTemplateID': 'string',
            'arn': 'string',
            'postLaunchActions': {
                'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
                's3LogBucket': 'string',
                's3OutputKeyPrefix': 'string',
                'cloudWatchLogGroupName': 'string',
                'ssmDocuments': [
                    {
                        'actionName': 'string',
                        'ssmDocumentName': 'string',
                        'timeoutSeconds': 123,
                        'mustSucceedForCutover': True|False,
                        'parameters': {
                            'string': [
                                {
                                    'parameterType': 'STRING'|'SECURE_STRING',
                                    'parameterName': 'string'
                                },
                            ]
                        },
                        'externalParameters': {
                            'string': {
                                'dynamicPath': 'string'
                            }
                        }
                    },
                ]
            },
            'enableMapAutoTagging': True|False,
            'mapAutoTaggingMpeID': 'string',
            'mapAutoTaggingKey': 'string',
            'tags': {
                'string': 'string'
            },
            'ec2LaunchTemplateID': 'string',
            'launchDisposition': 'STOPPED'|'STARTED',
            'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC',
            'copyPrivateIp': True|False,
            'associatePublicIpAddress': True|False,
            'copyTags': True|False,
            'licensing': {
                'osByol': True|False
            },
            'bootMode': 'LEGACY_BIOS'|'UEFI'|'USE_SOURCE',
            'smallVolumeMaxSize': 123,
            'smallVolumeConf': {
                'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
                'iops': 123,
                'throughput': 123,
                'volumeInitializationRate': 123,
                'deleteOnTermination': True|False
            },
            'largeVolumeConf': {
                'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
                'iops': 123,
                'throughput': 123,
                'volumeInitializationRate': 123,
                'deleteOnTermination': True|False
            },
            'enableParametersEncryption': True|False,
            'parametersEncryptionKey': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • items (list) --

      List of items returned by DescribeLaunchConfigurationTemplates.

      • (dict) --

        • launchConfigurationTemplateID (string) --

          ID of the Launch Configuration Template.

        • arn (string) --

          ARN of the Launch Configuration Template.

        • postLaunchActions (dict) --

          Post Launch Actions of the Launch Configuration Template.

          • 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.

          • cloudWatchLogGroupName (string) --

            AWS Systems Manager Command's CloudWatch log group name.

          • ssmDocuments (list) --

            AWS Systems Manager Documents.

            • (dict) --

              AWS Systems Manager Document.

              • actionName (string) --

                User-friendly name for the AWS Systems Manager Document.

              • ssmDocumentName (string) --

                AWS Systems Manager Document name or full ARN.

              • timeoutSeconds (integer) --

                AWS Systems Manager Document timeout seconds.

              • 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.

                      • parameterType (string) --

                        AWS Systems Manager Parameter Store parameter type.

                      • parameterName (string) --

                        AWS Systems Manager Parameter Store parameter name.

              • externalParameters (dict) --

                AWS Systems Manager Document external parameters.

                • (string) --

                  • (dict) --

                    AWS Systems Manager Document external parameter.

                    • dynamicPath (string) --

                      AWS Systems Manager Document external parameters dynamic path.

        • enableMapAutoTagging (boolean) --

          Enable map auto tagging.

        • mapAutoTaggingMpeID (string) --

          Launch configuration template map auto tagging MPE ID.

        • mapAutoTaggingKey (string) --

          Launch configuration template map auto tagging key.

        • tags (dict) --

          Tags of the Launch Configuration Template.

          • (string) --

            • (string) --

        • ec2LaunchTemplateID (string) --

          EC2 launch template ID.

        • launchDisposition (string) --

          Launch disposition.

        • targetInstanceTypeRightSizingMethod (string) --

          Target instance type right-sizing method.

        • copyPrivateIp (boolean) --

          Copy private Ip.

        • associatePublicIpAddress (boolean) --

          Associate public Ip address.

        • copyTags (boolean) --

          Copy tags.

        • licensing (dict) --

          Configure Licensing.

          • osByol (boolean) --

            Configure BYOL OS licensing.

        • bootMode (string) --

          Launch configuration template boot mode.

        • smallVolumeMaxSize (integer) --

          Small volume maximum size.

        • smallVolumeConf (dict) --

          Small volume config.

          • volumeType (string) --

            Launch template disk volume type configuration.

          • iops (integer) --

            Launch template disk iops configuration.

          • throughput (integer) --

            Launch template disk throughput configuration.

          • volumeInitializationRate (integer) --

            Launch template disk volume initialization rate configuration.

          • deleteOnTermination (boolean) --

            Launch template disk delete on termination configuration.

        • largeVolumeConf (dict) --

          Large volume config.

          • volumeType (string) --

            Launch template disk volume type configuration.

          • iops (integer) --

            Launch template disk iops configuration.

          • throughput (integer) --

            Launch template disk throughput configuration.

          • volumeInitializationRate (integer) --

            Launch template disk volume initialization rate configuration.

          • deleteOnTermination (boolean) --

            Launch template disk delete on termination configuration.

        • enableParametersEncryption (boolean) --

          Enable parameters encryption.

        • parametersEncryptionKey (string) --

          Parameters encryption key.

    • nextToken (string) --

      Next pagination token returned from DescribeLaunchConfigurationTemplates.

GetLaunchConfigurationDefaults (updated) Link ¶
Changes (response)
{'largeVolumeConfiguration': {'volumeType': {'io2a', 'gp3a'}},
 'smallVolumeConfiguration': {'volumeType': {'io2a', 'gp3a'}}}

Gets the launch configuration defaults of a source server: the Amazon Elastic Block Store (Amazon EBS) volume configuration used for the disk mappings created later in the source server's Amazon Elastic Compute Cloud (Amazon EC2) launch template.

See also: AWS API Documentation

Request Syntax

client.get_launch_configuration_defaults(
    sourceServerID='string',
    accountID='string'
)
type sourceServerID:

string

param sourceServerID:

[REQUIRED]

Request to get the launch configuration defaults by Source Server ID.

type accountID:

string

param accountID:

Request to get the launch configuration defaults by Account ID.

rtype:

dict

returns:

Response Syntax

{
    'sourceServerID': 'string',
    'smallVolumeMaxSize': 123,
    'smallVolumeConfiguration': {
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': 'ENABLED'|'DISABLED'
    },
    'largeVolumeConfiguration': {
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': 'ENABLED'|'DISABLED'
    }
}

Response Structure

  • (dict) --

    • sourceServerID (string) --

      Source Server ID of the launch configuration defaults.

    • smallVolumeMaxSize (integer) --

      Disks up to this size, in GiB, use the small volume configuration, and larger disks use the large one. 0 means every disk uses the large one.

    • smallVolumeConfiguration (dict) --

      Volume configuration for disks up to smallVolumeMaxSize. Omitted when none of its fields is set.

      • volumeType (string) --

        EBS volume type.

      • iops (integer) --

        Provisioned IOPS, for io1, io2, io2a, gp3 and gp3a volumes.

      • throughput (integer) --

        Throughput in MiB/s, for gp3 and gp3a volumes only.

      • volumeInitializationRate (integer) --

        Provisioned rate for volume initialization, in MiB/s.

      • deleteOnTermination (string) --

        Specifies whether the volume is deleted when the launched instance terminates.

    • largeVolumeConfiguration (dict) --

      Volume configuration for disks larger than smallVolumeMaxSize. Omitted when none of its fields is set.

      • volumeType (string) --

        EBS volume type.

      • iops (integer) --

        Provisioned IOPS, for io1, io2, io2a, gp3 and gp3a volumes.

      • throughput (integer) --

        Throughput in MiB/s, for gp3 and gp3a volumes only.

      • volumeInitializationRate (integer) --

        Provisioned rate for volume initialization, in MiB/s.

      • deleteOnTermination (string) --

        Specifies whether the volume is deleted when the launched instance terminates.

UpdateLaunchConfigurationDefaults (updated) Link ¶
Changes (both)
{'largeVolumeConfiguration': {'volumeType': {'io2a', 'gp3a'}},
 'smallVolumeConfiguration': {'volumeType': {'io2a', 'gp3a'}}}

Updates the launch configuration defaults of a source server. They apply only to disk mappings created later in the source server's Amazon Elastic Compute Cloud (Amazon EC2) launch template, and members you omit keep their current values.

See also: AWS API Documentation

Request Syntax

client.update_launch_configuration_defaults(
    sourceServerID='string',
    accountID='string',
    smallVolumeMaxSize=123,
    smallVolumeConfiguration={
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': 'ENABLED'|'DISABLED'
    },
    largeVolumeConfiguration={
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': 'ENABLED'|'DISABLED'
    }
)
type sourceServerID:

string

param sourceServerID:

[REQUIRED]

Request to update the launch configuration defaults by Source Server ID.

type accountID:

string

param accountID:

Request to update the launch configuration defaults by Account ID.

type smallVolumeMaxSize:

integer

param smallVolumeMaxSize:

Disks up to this size, in GiB, use the small volume configuration, and larger disks use the large one. 0 means every disk uses the large one. If you omit it, the current value is kept.

type smallVolumeConfiguration:

dict

param smallVolumeConfiguration:

Volume configuration for disks up to smallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration, {}, clears all of them.

  • volumeType (string) --

    EBS volume type.

  • iops (integer) --

    Provisioned IOPS, for io1, io2, io2a, gp3 and gp3a volumes.

  • throughput (integer) --

    Throughput in MiB/s, for gp3 and gp3a volumes only.

  • volumeInitializationRate (integer) --

    Provisioned rate for volume initialization, in MiB/s.

  • deleteOnTermination (string) --

    Specifies whether the volume is deleted when the launched instance terminates.

type largeVolumeConfiguration:

dict

param largeVolumeConfiguration:

Volume configuration for disks larger than smallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration, {}, clears all of them.

  • volumeType (string) --

    EBS volume type.

  • iops (integer) --

    Provisioned IOPS, for io1, io2, io2a, gp3 and gp3a volumes.

  • throughput (integer) --

    Throughput in MiB/s, for gp3 and gp3a volumes only.

  • volumeInitializationRate (integer) --

    Provisioned rate for volume initialization, in MiB/s.

  • deleteOnTermination (string) --

    Specifies whether the volume is deleted when the launched instance terminates.

rtype:

dict

returns:

Response Syntax

{
    'sourceServerID': 'string',
    'smallVolumeMaxSize': 123,
    'smallVolumeConfiguration': {
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': 'ENABLED'|'DISABLED'
    },
    'largeVolumeConfiguration': {
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': 'ENABLED'|'DISABLED'
    }
}

Response Structure

  • (dict) --

    • sourceServerID (string) --

      Source Server ID of the launch configuration defaults.

    • smallVolumeMaxSize (integer) --

      Disks up to this size, in GiB, use the small volume configuration, and larger disks use the large one. 0 means every disk uses the large one.

    • smallVolumeConfiguration (dict) --

      Volume configuration for disks up to smallVolumeMaxSize. Omitted when none of its fields is set.

      • volumeType (string) --

        EBS volume type.

      • iops (integer) --

        Provisioned IOPS, for io1, io2, io2a, gp3 and gp3a volumes.

      • throughput (integer) --

        Throughput in MiB/s, for gp3 and gp3a volumes only.

      • volumeInitializationRate (integer) --

        Provisioned rate for volume initialization, in MiB/s.

      • deleteOnTermination (string) --

        Specifies whether the volume is deleted when the launched instance terminates.

    • largeVolumeConfiguration (dict) --

      Volume configuration for disks larger than smallVolumeMaxSize. Omitted when none of its fields is set.

      • volumeType (string) --

        EBS volume type.

      • iops (integer) --

        Provisioned IOPS, for io1, io2, io2a, gp3 and gp3a volumes.

      • throughput (integer) --

        Throughput in MiB/s, for gp3 and gp3a volumes only.

      • volumeInitializationRate (integer) --

        Provisioned rate for volume initialization, in MiB/s.

      • deleteOnTermination (string) --

        Specifies whether the volume is deleted when the launched instance terminates.

UpdateLaunchConfigurationTemplate (updated) Link ¶
Changes (both)
{'largeVolumeConf': {'volumeType': {'io2a', 'gp3a'}},
 'smallVolumeConf': {'volumeType': {'io2a', 'gp3a'}}}

Updates an existing Launch Configuration Template by ID.

See also: AWS API Documentation

Request Syntax

client.update_launch_configuration_template(
    launchConfigurationTemplateID='string',
    postLaunchActions={
        'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
        's3LogBucket': 'string',
        's3OutputKeyPrefix': 'string',
        'cloudWatchLogGroupName': 'string',
        'ssmDocuments': [
            {
                'actionName': 'string',
                'ssmDocumentName': 'string',
                'timeoutSeconds': 123,
                'mustSucceedForCutover': True|False,
                'parameters': {
                    'string': [
                        {
                            'parameterType': 'STRING'|'SECURE_STRING',
                            'parameterName': 'string'
                        },
                    ]
                },
                'externalParameters': {
                    'string': {
                        'dynamicPath': 'string'
                    }
                }
            },
        ]
    },
    enableMapAutoTagging=True|False,
    mapAutoTaggingMpeID='string',
    mapAutoTaggingKey='string',
    launchDisposition='STOPPED'|'STARTED',
    targetInstanceTypeRightSizingMethod='NONE'|'BASIC',
    copyPrivateIp=True|False,
    associatePublicIpAddress=True|False,
    copyTags=True|False,
    licensing={
        'osByol': True|False
    },
    bootMode='LEGACY_BIOS'|'UEFI'|'USE_SOURCE',
    smallVolumeMaxSize=123,
    smallVolumeConf={
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': True|False
    },
    largeVolumeConf={
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': True|False
    },
    enableParametersEncryption=True|False,
    parametersEncryptionKey='string'
)
type launchConfigurationTemplateID:

string

param launchConfigurationTemplateID:

[REQUIRED]

Launch Configuration Template ID.

type postLaunchActions:

dict

param postLaunchActions:

Post Launch Action to execute on the Test or Cutover instance.

  • 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.

  • cloudWatchLogGroupName (string) --

    AWS Systems Manager Command's CloudWatch log group name.

  • ssmDocuments (list) --

    AWS Systems Manager Documents.

    • (dict) --

      AWS Systems Manager Document.

      • actionName (string) -- [REQUIRED]

        User-friendly name for the AWS Systems Manager Document.

      • ssmDocumentName (string) -- [REQUIRED]

        AWS Systems Manager Document name or full ARN.

      • timeoutSeconds (integer) --

        AWS Systems Manager Document timeout seconds.

      • 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.

              • parameterType (string) -- [REQUIRED]

                AWS Systems Manager Parameter Store parameter type.

              • parameterName (string) -- [REQUIRED]

                AWS Systems Manager Parameter Store parameter name.

      • externalParameters (dict) --

        AWS Systems Manager Document external parameters.

        • (string) --

          • (dict) --

            AWS Systems Manager Document external parameter.

            • dynamicPath (string) --

              AWS Systems Manager Document external parameters dynamic path.

type enableMapAutoTagging:

boolean

param enableMapAutoTagging:

Enable map auto tagging.

type mapAutoTaggingMpeID:

string

param mapAutoTaggingMpeID:

Launch configuration template map auto tagging MPE ID.

type mapAutoTaggingKey:

string

param mapAutoTaggingKey:

Launch configuration template map auto tagging key.

type launchDisposition:

string

param launchDisposition:

Launch disposition.

type targetInstanceTypeRightSizingMethod:

string

param targetInstanceTypeRightSizingMethod:

Target instance type right-sizing method.

type copyPrivateIp:

boolean

param copyPrivateIp:

Copy private Ip.

type associatePublicIpAddress:

boolean

param associatePublicIpAddress:

Associate public Ip address.

type copyTags:

boolean

param copyTags:

Copy tags.

type licensing:

dict

param licensing:

Configure Licensing.

  • osByol (boolean) --

    Configure BYOL OS licensing.

type bootMode:

string

param bootMode:

Launch configuration template boot mode.

type smallVolumeMaxSize:

integer

param smallVolumeMaxSize:

Small volume maximum size.

type smallVolumeConf:

dict

param smallVolumeConf:

Small volume config.

  • volumeType (string) --

    Launch template disk volume type configuration.

  • iops (integer) --

    Launch template disk iops configuration.

  • throughput (integer) --

    Launch template disk throughput configuration.

  • volumeInitializationRate (integer) --

    Launch template disk volume initialization rate configuration.

  • deleteOnTermination (boolean) --

    Launch template disk delete on termination configuration.

type largeVolumeConf:

dict

param largeVolumeConf:

Large volume config.

  • volumeType (string) --

    Launch template disk volume type configuration.

  • iops (integer) --

    Launch template disk iops configuration.

  • throughput (integer) --

    Launch template disk throughput configuration.

  • volumeInitializationRate (integer) --

    Launch template disk volume initialization rate configuration.

  • deleteOnTermination (boolean) --

    Launch template disk delete on termination configuration.

type enableParametersEncryption:

boolean

param enableParametersEncryption:

Enable parameters encryption.

type parametersEncryptionKey:

string

param parametersEncryptionKey:

Parameters encryption key.

rtype:

dict

returns:

Response Syntax

{
    'launchConfigurationTemplateID': 'string',
    'arn': 'string',
    'postLaunchActions': {
        'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
        's3LogBucket': 'string',
        's3OutputKeyPrefix': 'string',
        'cloudWatchLogGroupName': 'string',
        'ssmDocuments': [
            {
                'actionName': 'string',
                'ssmDocumentName': 'string',
                'timeoutSeconds': 123,
                'mustSucceedForCutover': True|False,
                'parameters': {
                    'string': [
                        {
                            'parameterType': 'STRING'|'SECURE_STRING',
                            'parameterName': 'string'
                        },
                    ]
                },
                'externalParameters': {
                    'string': {
                        'dynamicPath': 'string'
                    }
                }
            },
        ]
    },
    'enableMapAutoTagging': True|False,
    'mapAutoTaggingMpeID': 'string',
    'mapAutoTaggingKey': 'string',
    'tags': {
        'string': 'string'
    },
    'ec2LaunchTemplateID': 'string',
    'launchDisposition': 'STOPPED'|'STARTED',
    'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC',
    'copyPrivateIp': True|False,
    'associatePublicIpAddress': True|False,
    'copyTags': True|False,
    'licensing': {
        'osByol': True|False
    },
    'bootMode': 'LEGACY_BIOS'|'UEFI'|'USE_SOURCE',
    'smallVolumeMaxSize': 123,
    'smallVolumeConf': {
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': True|False
    },
    'largeVolumeConf': {
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'|'gp3a'|'io2a',
        'iops': 123,
        'throughput': 123,
        'volumeInitializationRate': 123,
        'deleteOnTermination': True|False
    },
    'enableParametersEncryption': True|False,
    'parametersEncryptionKey': 'string'
}

Response Structure

  • (dict) --

    • launchConfigurationTemplateID (string) --

      ID of the Launch Configuration Template.

    • arn (string) --

      ARN of the Launch Configuration Template.

    • postLaunchActions (dict) --

      Post Launch Actions of the Launch Configuration Template.

      • 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.

      • cloudWatchLogGroupName (string) --

        AWS Systems Manager Command's CloudWatch log group name.

      • ssmDocuments (list) --

        AWS Systems Manager Documents.

        • (dict) --

          AWS Systems Manager Document.

          • actionName (string) --

            User-friendly name for the AWS Systems Manager Document.

          • ssmDocumentName (string) --

            AWS Systems Manager Document name or full ARN.

          • timeoutSeconds (integer) --

            AWS Systems Manager Document timeout seconds.

          • 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.

                  • parameterType (string) --

                    AWS Systems Manager Parameter Store parameter type.

                  • parameterName (string) --

                    AWS Systems Manager Parameter Store parameter name.

          • externalParameters (dict) --

            AWS Systems Manager Document external parameters.

            • (string) --

              • (dict) --

                AWS Systems Manager Document external parameter.

                • dynamicPath (string) --

                  AWS Systems Manager Document external parameters dynamic path.

    • enableMapAutoTagging (boolean) --

      Enable map auto tagging.

    • mapAutoTaggingMpeID (string) --

      Launch configuration template map auto tagging MPE ID.

    • mapAutoTaggingKey (string) --

      Launch configuration template map auto tagging key.

    • tags (dict) --

      Tags of the Launch Configuration Template.

      • (string) --

        • (string) --

    • ec2LaunchTemplateID (string) --

      EC2 launch template ID.

    • launchDisposition (string) --

      Launch disposition.

    • targetInstanceTypeRightSizingMethod (string) --

      Target instance type right-sizing method.

    • copyPrivateIp (boolean) --

      Copy private Ip.

    • associatePublicIpAddress (boolean) --

      Associate public Ip address.

    • copyTags (boolean) --

      Copy tags.

    • licensing (dict) --

      Configure Licensing.

      • osByol (boolean) --

        Configure BYOL OS licensing.

    • bootMode (string) --

      Launch configuration template boot mode.

    • smallVolumeMaxSize (integer) --

      Small volume maximum size.

    • smallVolumeConf (dict) --

      Small volume config.

      • volumeType (string) --

        Launch template disk volume type configuration.

      • iops (integer) --

        Launch template disk iops configuration.

      • throughput (integer) --

        Launch template disk throughput configuration.

      • volumeInitializationRate (integer) --

        Launch template disk volume initialization rate configuration.

      • deleteOnTermination (boolean) --

        Launch template disk delete on termination configuration.

    • largeVolumeConf (dict) --

      Large volume config.

      • volumeType (string) --

        Launch template disk volume type configuration.

      • iops (integer) --

        Launch template disk iops configuration.

      • throughput (integer) --

        Launch template disk throughput configuration.

      • volumeInitializationRate (integer) --

        Launch template disk volume initialization rate configuration.

      • deleteOnTermination (boolean) --

        Launch template disk delete on termination configuration.

    • enableParametersEncryption (boolean) --

      Enable parameters encryption.

    • parametersEncryptionKey (string) --

      Parameters encryption key.