DocsAWS 101BlogServices

ElastiCache

Real Redis/Memcached containers. Replication groups, parameter groups, subnet groups, snapshots.

Query (form-encoded) multi-tenant 37 operations

Quick start

import boto3
ec = boto3.client("elasticache", endpoint_url="http://localhost:4566",
                  region_name="us-east-1",
                  aws_access_key_id="test", aws_secret_access_key="test")
ec.create_cache_cluster(CacheClusterId="r", Engine="redis",
    CacheNodeType="cache.t3.micro", NumCacheNodes=1)

Supported operations

37 operations exposed by this service as of MiniStack 1.5.8. Extracted directly from the handler dispatch in the source module.

AddTagsToResource CreateCacheCluster CreateCacheParameterGroup CreateCacheSubnetGroup CreateReplicationGroup CreateSnapshot CreateUser CreateUserGroup DecreaseReplicaCount DeleteCacheCluster DeleteCacheParameterGroup DeleteCacheSubnetGroup DeleteReplicationGroup DeleteSnapshot DeleteUser DeleteUserGroup DescribeCacheClusters DescribeCacheEngineVersions DescribeCacheParameterGroups DescribeCacheParameters DescribeCacheSubnetGroups DescribeEvents DescribeReplicationGroups DescribeSnapshots DescribeUserGroups DescribeUsers IncreaseReplicaCount ListTagsForResource ModifyCacheCluster ModifyCacheParameterGroup ModifyCacheSubnetGroup ModifyReplicationGroup ModifyUser ModifyUserGroup RebootCacheCluster RemoveTagsFromResource ResetCacheParameterGroup

CloudFormation

No CloudFormation resource types map to this service yet. Resources can still be created via the SDK or CLI.

Known limitations

  • Cluster-mode-enabled Redis is metadata-only by default; set ELASTICACHE_CLUSTER_MODE_REAL=1 (requires DOCKER_NETWORK) to provision a real multi-node Redis cluster with CLUSTER SLOTS / MOVED redirects. Non-clustered single-node Redis needs no knobs.
  • Host port starts at ELASTICACHE_BASE_PORT (default 16379).

Source

  • ministack/services/elasticache.py

Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.