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

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

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

Overview

Describes a reservation.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#groupsArray<Types::GroupIdentifier>

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

Returns:

#instancesArray<Types::Instance>

One or more instances.

Returns:

#owner_idString

The ID of the AWS account that owns the reservation.

Returns:

  • (String)

    The ID of the AWS account that owns the reservation.

#requester_idString

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

Returns:

  • (String)

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

#reservation_idString

The ID of the reservation.

Returns:

  • (String)

    The ID of the reservation.