Skip to content

Purchase Reserved Cache Nodes Offering

elasticache_purchase_reserved_cache_nodes_offering R Documentation

Allows you to purchase a reserved cache node offering

Description

Allows you to purchase a reserved cache node offering. Reserved nodes are not eligible for cancellation and are non-refundable. For more information, see Managing Costs with Reserved Nodes for Redis OSS or Managing Costs with Reserved Nodes for Memcached.

Usage

elasticache_purchase_reserved_cache_nodes_offering(
  ReservedCacheNodesOfferingId, ReservedCacheNodeId, CacheNodeCount, Tags)

Arguments

ReservedCacheNodesOfferingId

[required] The ID of the reserved cache node offering to purchase.

Example: ⁠438012d3-4052-4cc7-b2e3-8d3372e0e706⁠

ReservedCacheNodeId

A customer-specified identifier to track this reservation.

The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.

Example: myreservationID

CacheNodeCount

The number of cache node instances to reserve.

Default: 1

Tags

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

Value

A list with the following syntax:

list(
  ReservedCacheNode = list(
    ReservedCacheNodeId = "string",
    ReservedCacheNodesOfferingId = "string",
    CacheNodeType = "string",
    StartTime = as.POSIXct(
      "2015-01-01"
    ),
    Duration = 123,
    FixedPrice = 123.0,
    UsagePrice = 123.0,
    CacheNodeCount = 123,
    ProductDescription = "string",
    OfferingType = "string",
    State = "string",
    RecurringCharges = list(
      list(
        RecurringChargeAmount = 123.0,
        RecurringChargeFrequency = "string"
      )
    ),
    ReservationARN = "string"
  )
)

Request syntax

svc$purchase_reserved_cache_nodes_offering(
  ReservedCacheNodesOfferingId = "string",
  ReservedCacheNodeId = "string",
  CacheNodeCount = 123,
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)