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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass CapacityReservationTarget data as a hash:

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

Describes a target Capacity Reservation or Capacity Reservation group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_reservation_idString

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

Returns:

  • (String)


3309
3310
3311
3312
3313
3314
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3309

class CapacityReservationTarget < Struct.new(
  :capacity_reservation_id,
  :capacity_reservation_resource_group_arn)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_reservation_resource_group_arnString

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

Returns:

  • (String)


3309
3310
3311
3312
3313
3314
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3309

class CapacityReservationTarget < Struct.new(
  :capacity_reservation_id,
  :capacity_reservation_resource_group_arn)
  SENSITIVE = []
  include Aws::Structure
end