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

Class: Aws::Redshift::Types::ReservedNode

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

Overview

Describes a reserved node. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#currency_code ⇒ String

The currency code for the reserved cluster.

Returns:

  • (String) —

    The currency code for the reserved cluster.

#duration ⇒ Integer

The duration of the node reservation in seconds.

Returns:

  • (Integer) —

    The duration of the node reservation in seconds.

#fixed_price ⇒ Float

The fixed cost Amazon Redshift charges you for this reserved node.

Returns:

  • (Float) —

    The fixed cost Amazon Redshift charges you for this reserved node.

#node_count ⇒ Integer

The number of reserved compute nodes.

Returns:

  • (Integer) —

    The number of reserved compute nodes.

#node_type ⇒ String

The node type of the reserved node.

Returns:

  • (String) —

    The node type of the reserved node.

#offering_type ⇒ String

The anticipated utilization of the reserved node, as defined in the reserved node offering.

Returns:

  • (String) —

    The anticipated utilization of the reserved node, as defined in the reserved node offering.

#recurring_charges ⇒ Array<Types::RecurringCharge>

The recurring charges for the reserved node.

Returns:

#reserved_node_id ⇒ String

The unique identifier for the reservation.

Returns:

  • (String) —

    The unique identifier for the reservation.

#reserved_node_offering_id ⇒ String

The identifier for the reserved node offering.

Returns:

  • (String) —

    The identifier for the reserved node offering.

#reserved_node_offering_type ⇒ String

Possible values:

  • Regular
  • Upgradable

Returns:

  • (String)

#start_time ⇒ Time

The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.

Returns:

  • (Time) —

    The time the reservation started.

#state ⇒ String

The state of the reserved compute node.

Possible Values:

  • pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.

  • active-This reserved node is owned by the caller and is available for use.

  • payment-failed-Payment failed for the purchase attempt.

  • retired-The reserved node is no longer available.

  • exchanging-The owner is exchanging the reserved node for another reserved node.

Returns:

  • (String) —

    The state of the reserved compute node.

#usage_price ⇒ Float

The hourly rate Amazon Redshift charges you for this reserved node.

Returns:

  • (Float) —

    The hourly rate Amazon Redshift charges you for this reserved node.