CacheEngine

class aws_cdk.aws_elasticache_alpha.CacheEngine(*values)

Bases: Enum

(experimental) Supported cache engines together with available versions.

Stability:

experimental

ExampleMetadata:

infused

Example:

# vpc: ec2.Vpc


serverless_cache = elasticache.ServerlessCache(self, "ServerlessCache",
    engine=elasticache.CacheEngine.VALKEY_LATEST,
    backup=elasticache.BackupSettings(
        # set a backup name before deleting a cache
        backup_name_before_deletion="my-final-backup-name"
    ),
    vpc=vpc
)

Attributes

MEMCACHED_LATEST

(experimental) Memcached engine, latest major version available, minor version is selected automatically For more information about the features related to this version check: https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/engine-versions.html.

Stability:

experimental

REDIS_7

(experimental) Redis engine, major version 7, minor version is selected automatically For more information about the features related to this version check: https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/engine-versions.html.

Stability:

experimental

REDIS_LATEST

(experimental) Redis engine, latest major version available, minor version is selected automatically For more information about the features related to this version check: https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/engine-versions.html.

Stability:

experimental

VALKEY_7

(experimental) Valkey engine, major version 7, minor version is selected automatically For more information about the features related to this version check: https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/engine-versions.html.

Stability:

experimental

VALKEY_8

(experimental) Valkey engine, major version 8, minor version is selected automatically For more information about the features related to this version check: https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/engine-versions.html.

Stability:

experimental

VALKEY_LATEST

(experimental) Valkey engine, latest major version available, minor version is selected automatically For more information about the features related to this version check: https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/engine-versions.html.

Stability:

experimental