Method: Aws::Drs::Client#describe_launch_configuration_templates

Defined in:
lib/aws-sdk-drs/client.rb

#describe_launch_configuration_templates(params = {}) ⇒ Types::DescribeLaunchConfigurationTemplatesResponse

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

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.describe_launch_configuration_templates({
  launch_configuration_template_i_ds: ["LaunchConfigurationTemplateID"],
  max_results: 1,
  next_token: "PaginationToken",
})

Response structure


resp.items #=> Array
resp.items[0].arn #=> String
resp.items[0].copy_private_ip #=> Boolean
resp.items[0].copy_tags #=> Boolean
resp.items[0].export_bucket_arn #=> String
resp.items[0].launch_configuration_template_id #=> String
resp.items[0].launch_disposition #=> String, one of "STOPPED", "STARTED"
resp.items[0].launch_into_source_instance #=> Boolean
resp.items[0].licensing.os_byol #=> Boolean
resp.items[0].post_launch_enabled #=> Boolean
resp.items[0].tags #=> Hash
resp.items[0].tags["TagKey"] #=> String
resp.items[0].target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC", "IN_AWS"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :launch_configuration_template_i_ds (Array<String>)

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

  • :max_results (Integer)

    Maximum results to be returned in DescribeLaunchConfigurationTemplates.

  • :next_token (String)

    The token of the next Launch Configuration Template to retrieve.

Returns:

See Also:



1238
1239
1240
1241
# File 'lib/aws-sdk-drs/client.rb', line 1238

def describe_launch_configuration_templates(params = {}, options = {})
  req = build_request(:describe_launch_configuration_templates, params)
  req.send_request(options)
end