You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Batch::Types::LaunchTemplateSpecification

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing LaunchTemplateSpecification as input to an Aws::Client method, you can use a vanilla Hash:

{
  launch_template_id: "String",
  launch_template_name: "String",
  version: "String",
}

An object representing a launch template associated with a compute resource. You must specify either the launch template ID or launch template name in the request, but not both.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#launch_template_idString

The ID of the launch template.

Returns:

  • (String)

    The ID of the launch template.

#launch_template_nameString

The name of the launch template.

Returns:

  • (String)

    The name of the launch template.

#versionString

The version number of the launch template, $Latest, or $Default.

If the value is $Latest, the latest version of the launch template is used. If the value is $Default, the default version of the launch template is used.

Default: $Default.

Returns:

  • (String)

    The version number of the launch template, $Latest, or $Default.