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_code ⇒ String (readonly)

The currency code for the reserved DB instance.

Returns:

  • (String) —

    The currency code for the reserved DB instance.

#db_instance_class ⇒ String (readonly)

The DB instance class for the reserved DB instance.

Returns:

  • (String) —

    The DB instance class for the reserved DB instance.

#db_instance_count ⇒ Integer (readonly)

The number of reserved DB instances.

Returns:

  • (Integer) —

    The number of reserved DB instances.

#duration ⇒ Integer (readonly)

The duration of the reservation in seconds.

Returns:

  • (Integer) —

    The duration of the reservation in seconds.

#fixed_price ⇒ Float (readonly)

The fixed price charged for this reserved DB instance.

Returns:

  • (Float) —

    The fixed price charged for this reserved DB instance.

#id ⇒ String (readonly)

Returns:

  • (String)

#lease_id ⇒ String (readonly)

The unique identifier for the lease associated with the reserved DB instance.

AWS Support might request the lease ID for an issue related to a reserved DB instance.

Returns:

  • (String) —

    The unique identifier for the lease associated with the reserved DB instance.

#multi_az ⇒ Boolean (readonly)

Indicates if the reservation applies to Multi-AZ deployments.

Returns:

  • (Boolean) —

    Indicates if the reservation applies to Multi-AZ deployments.

#offering_type ⇒ String (readonly)

The offering type of this reserved DB instance.

Returns:

  • (String) —

    The offering type of this reserved DB instance.

#product_description ⇒ String (readonly)

The description of the reserved DB instance.

Returns:

  • (String) —

    The description of the reserved DB instance.

#recurring_charges ⇒ Array<Types::RecurringCharge> (readonly)

The recurring price charged to run this reserved DB instance.

Returns:

#reserved_db_instance_arn ⇒ String (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_id ⇒ String (readonly)

The unique identifier for the reservation.

Returns:

  • (String) —

    The unique identifier for the reservation.

#reserved_db_instances_offering_id ⇒ String (readonly)

The offering identifier.

Returns:

  • (String) —

    The offering identifier.

#start_time ⇒ Time (readonly)

The time the reservation started.

Returns:

  • (Time) —

    The time the reservation started.

#state ⇒ String (readonly)

The state of the reserved DB instance.

Returns:

  • (String) —

    The state of the reserved DB instance.

#usage_price ⇒ Float (readonly)

The hourly price charged for this reserved DB instance.

Returns:

  • (Float) —

    The hourly price charged for this reserved DB instance.

Instance Method Details