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

Class: Aws::EC2::Types::Reservation

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

Overview

Describes a reservation.

Instance Attribute Summary collapse

Instance Attribute Details

#groupsArray<Types::GroupIdentifier>

[EC2-Classic only] One or more security groups.

Returns:



23906
23907
23908
23909
23910
23911
23912
23913
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 23906

class Reservation < Struct.new(
  :groups,
  :instances,
  :owner_id,
  :requester_id,
  :reservation_id)
  include Aws::Structure
end

#instancesArray<Types::Instance>

One or more instances.

Returns:



23906
23907
23908
23909
23910
23911
23912
23913
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 23906

class Reservation < Struct.new(
  :groups,
  :instances,
  :owner_id,
  :requester_id,
  :reservation_id)
  include Aws::Structure
end

#owner_idString

The ID of the AWS account that owns the reservation.

Returns:

  • (String)


23906
23907
23908
23909
23910
23911
23912
23913
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 23906

class Reservation < Struct.new(
  :groups,
  :instances,
  :owner_id,
  :requester_id,
  :reservation_id)
  include Aws::Structure
end

#requester_idString

The ID of the requester that launched the instances on your behalf (for example, AWS Management Console or Auto Scaling).

Returns:

  • (String)


23906
23907
23908
23909
23910
23911
23912
23913
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 23906

class Reservation < Struct.new(
  :groups,
  :instances,
  :owner_id,
  :requester_id,
  :reservation_id)
  include Aws::Structure
end

#reservation_idString

The ID of the reservation.

Returns:

  • (String)


23906
23907
23908
23909
23910
23911
23912
23913
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 23906

class Reservation < Struct.new(
  :groups,
  :instances,
  :owner_id,
  :requester_id,
  :reservation_id)
  include Aws::Structure
end