Skip to main content

cache_engine_versions

Creates, updates, deletes, gets or lists a cache_engine_versions resource.

Overview

Namecache_engine_versions
TypeResource
Idaws.elasticache.cache_engine_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
cache_engine_descriptionstringThe description of the cache engine.
cache_engine_version_descriptionstringThe description of the cache engine version.
cache_parameter_group_familystringThe name of the cache parameter group family associated with this cache engine. Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x | redis7
enginestringThe name of the cache engine.
engine_versionstringThe version number of the cache engine.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_cache_engine_versionsselectregionEngine, EngineVersion, CacheParameterGroupFamily, MaxRecords, Marker, DefaultOnlyReturns a list of the available cache engines and their versions.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
CacheParameterGroupFamilystringThe 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
DefaultOnlybooleanIf true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
EnginestringThe cache engine to return. Valid values: memcached | redis
EngineVersionstringThe cache engine version to return. Example: 1.4.14
MarkerstringAn 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.
MaxRecordsintegerThe 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.

SELECT examples

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

SELECT
cache_engine_description,
cache_engine_version_description,
cache_parameter_group_family,
engine,
engine_version
FROM aws.elasticache.cache_engine_versions
WHERE region = '{{ region }}' -- required
AND Engine = '{{ Engine }}'
AND EngineVersion = '{{ EngineVersion }}'
AND CacheParameterGroupFamily = '{{ CacheParameterGroupFamily }}'
AND MaxRecords = '{{ MaxRecords }}'
AND Marker = '{{ Marker }}'
AND DefaultOnly = '{{ DefaultOnly }}'
;