Skip to content

Returns a list of the available cache engines and their versions

Description

Returns a list of the available cache engines and their versions.

Usage

elasticache_describe_cache_engine_versions(Engine, EngineVersion,
  CacheParameterGroupFamily, MaxRecords, Marker, DefaultOnly)

Arguments

  • Engine

    The cache engine to return. Valid values: memcached | redis

  • EngineVersion

    The cache engine version to return.

    Example: 1.4.14

  • CacheParameterGroupFamily

    The name of a specific cache parameter group family to return details for.

    Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x | redis6.2 | redis7 | valkey7

    Constraints:

    • Must be 1 to 255 alphanumeric characters
    • First character must be a letter
    • Cannot end with a hyphen or contain two consecutive hyphens
  • MaxRecords

    The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

    Default: 100

    Constraints: minimum 20; maximum 100.

  • Marker

    An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

  • DefaultOnly

    If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.

Value

A list with the following syntax:

list(
  Marker = "string",
  CacheEngineVersions = list(
    list(
      Engine = "string",
      EngineVersion = "string",
      CacheParameterGroupFamily = "string",
      CacheEngineDescription = "string",
      CacheEngineVersionDescription = "string"
    )
  )
)

Request syntax

svc$describe_cache_engine_versions(
  Engine = "string",
  EngineVersion = "string",
  CacheParameterGroupFamily = "string",
  MaxRecords = 123,
  Marker = "string",
  DefaultOnly = TRUE|FALSE
)

Examples

# Lists the details for up to 25 Memcached and Redis cache engine
# versions.
svc$describe_cache_engine_versions()

# Lists the details for up to 50 Redis cache engine versions.
svc$describe_cache_engine_versions(
  DefaultOnly = FALSE,
  Engine = "redis",
  MaxRecords = 50L
)