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

Class: Aws::EC2::Types::CapacityReservationTarget

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

Overview

Note:

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

{
  capacity_reservation_id: "CapacityReservationId",
  capacity_reservation_resource_group_arn: "String",
}

Describes a target Capacity Reservation or Capacity Reservation group.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_reservation_idString

The ID of the Capacity Reservation in which to run the instance.

Returns:

  • (String)

    The ID of the Capacity Reservation in which to run the instance.

#capacity_reservation_resource_group_arnString

The ARN of the Capacity Reservation resource group in which to run the instance.

Returns:

  • (String)

    The ARN of the Capacity Reservation resource group in which to run the instance.