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

Class: Aws::ElastiCache::Types::ReservedCacheNode

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

Overview

Represents the output of a PurchaseReservedCacheNodesOffering operation.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#cache_node_countInteger

The number of cache nodes that have been reserved.

Returns:

  • (Integer)

    The number of cache nodes that have been reserved.

#cache_node_typeString

The cache node type for the reserved cache nodes.

The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts.

  • General purpose:

    • Current generation:

      T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium

      M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge

      M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge

    • Previous generation: (not recommended)

      T1 node types: cache.t1.micro

      M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge

  • Compute optimized:

    • Previous generation: (not recommended)

      C1 node types: cache.c1.xlarge

  • Memory optimized:

    • Current generation:

      R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge

    • Previous generation: (not recommended)

      M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge

Notes:

  • All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).

  • Redis (cluster mode disabled): Redis backup/restore is not supported on T1 and T2 instances.

  • Redis (cluster mode enabled): Backup/restore is not supported on T1 instances.

  • Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances.

For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.

Returns:

  • (String)

    The cache node type for the reserved cache nodes.

#durationInteger

The duration of the reservation in seconds.

Returns:

  • (Integer)

    The duration of the reservation in seconds.

#fixed_priceFloat

The fixed price charged for this reserved cache node.

Returns:

  • (Float)

    The fixed price charged for this reserved cache node.

#offering_typeString

The offering type of this reserved cache node.

Returns:

  • (String)

    The offering type of this reserved cache node.

#product_descriptionString

The description of the reserved cache node.

Returns:

  • (String)

    The description of the reserved cache node.

#recurring_chargesArray<Types::RecurringCharge>

The recurring price charged to run this reserved cache node.

Returns:

#reserved_cache_node_idString

The unique identifier for the reservation.

Returns:

  • (String)

    The unique identifier for the reservation.

#reserved_cache_nodes_offering_idString

The offering identifier.

Returns:

  • (String)

    The offering identifier.

#start_timeTime

The time the reservation started.

Returns:

  • (Time)

    The time the reservation started.

#stateString

The state of the reserved cache node.

Returns:

  • (String)

    The state of the reserved cache node.

#usage_priceFloat

The hourly price charged for this reserved cache node.

Returns:

  • (Float)

    The hourly price charged for this reserved cache node.