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

Class: Aws::RDS::ReservedDBInstance

Inherits:
Aws::Resources::Resource show all
Defined in:
(unknown)

Instance Attribute Summary collapse

Attributes inherited from Aws::Resources::Resource

#client, #identifiers

Instance Method Summary collapse

Methods inherited from Aws::Resources::Resource

add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until

Methods included from Aws::Resources::OperationMethods

#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations

Constructor Details

#initialize(id, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object

Overloads:

  • #initialize(id, options = {}) ⇒ Object

    Parameters:

    • id (String)

    Options Hash (options):

    • :client (Client)

      When `:client is not given, the options hash is used to construct a new Client object.

  • #initialize(options = {}) ⇒ Object

    Options Hash (options):

    • :id (required, String)
    • :client (Client)

      When `:client is not given, the options hash is used to construct a new Client object.

Instance Attribute Details

#currency_codeString (readonly)

The currency code for the reserved DB instance.

Returns:

  • (String)

    The currency code for the reserved DB instance.

#db_instance_classString (readonly)

The DB instance class for the reserved DB instance.

Returns:

  • (String)

    The DB instance class for the reserved DB instance.

#db_instance_countInteger (readonly)

The number of reserved DB instances.

Returns:

  • (Integer)

    The number of reserved DB instances.

#durationInteger (readonly)

The duration of the reservation in seconds.

Returns:

  • (Integer)

    The duration of the reservation in seconds.

#fixed_priceFloat (readonly)

The fixed price charged for this reserved DB instance.

Returns:

  • (Float)

    The fixed price charged for this reserved DB instance.

#idString (readonly)

Returns:

  • (String)

#multi_azBoolean (readonly)

Indicates if the reservation applies to Multi-AZ deployments.

Returns:

  • (Boolean)

    Indicates if the reservation applies to Multi-AZ deployments.

#offering_typeString (readonly)

The offering type of this reserved DB instance.

Returns:

  • (String)

    The offering type of this reserved DB instance.

#product_descriptionString (readonly)

The description of the reserved DB instance.

Returns:

  • (String)

    The description of the reserved DB instance.

#recurring_chargesArray<Types::RecurringCharge> (readonly)

The recurring price charged to run this reserved DB instance.

Returns:

#reserved_db_instance_arnString (readonly)

The Amazon Resource Name (ARN) for the reserved DB instance.

Returns:

  • (String)

    The Amazon Resource Name (ARN) for the reserved DB instance.

#reserved_db_instance_idString (readonly)

The unique identifier for the reservation.

Returns:

  • (String)

    The unique identifier for the reservation.

#reserved_db_instances_offering_idString (readonly)

The offering identifier.

Returns:

  • (String)

    The offering identifier.

#start_timeTime (readonly)

The time the reservation started.

Returns:

  • (Time)

    The time the reservation started.

#stateString (readonly)

The state of the reserved DB instance.

Returns:

  • (String)

    The state of the reserved DB instance.

#usage_priceFloat (readonly)

The hourly price charged for this reserved DB instance.

Returns:

  • (Float)

    The hourly price charged for this reserved DB instance.

Instance Method Details