Skip to content
v2.273.0

Amazon ElastiCache Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as elasticache from 'aws-cdk-lib/aws-elasticache';
python
import aws_cdk.aws_elasticache as elasticache
java
import software.amazon.awscdk.services.elasticache.*;
csharp
using Amazon.CDK.AWS.ElastiCache;
go
import elasticache "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::ElastiCache.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnCacheClusterConstruct (L1)The AWS::ElastiCache::CacheCluster type creates an Amazon ElastiCache cache cluster.
CfnGlobalReplicationGroupConstruct (L1)Consists of a primary cluster that accepts writes and an associated secondary cluster that resides in a different Amazon region.
CfnParameterGroupConstruct (L1)The AWS::ElastiCache::ParameterGroup type creates a new cache parameter group.
CfnReplicationGroupConstruct (L1)The AWS::ElastiCache::ReplicationGroup resource creates an Amazon ElastiCache (Valkey or Redis OSS) replication group.
CfnSecurityGroupConstruct (L1)The AWS::ElastiCache::SecurityGroup resource creates a cache security group.
CfnSecurityGroupIngressConstruct (L1)The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups.
CfnServerlessCacheConstruct (L1)The resource representing a serverless cache.
CfnServerlessCacheSnapshotConstruct (L1)Resource Type definition for AWS::ElastiCache::ServerlessCacheSnapshot.
CfnSnapshotConstruct (L1)Represents a copy of an entire cluster or replication group as of the time when the snapshot was taken.
CfnSubnetGroupConstruct (L1)Creates a cache subnet group.
CfnUserConstruct (L1)For Valkey 7.2 and onwards, or Redis OSS engine version 6.0 and onwards: Creates user. For more information, see Using Role Based Access Control (RBAC) .
CfnUserGroupConstruct (L1)For Valkey 7.2 and onwards, or Redis OSS 6.0 and onwards: Creates a user group. For more information, see Using Role Based Access Control (RBAC).
CfnCacheCluster.CloudWatchLogsDestinationDetailsPropertyStructConfiguration details of a CloudWatch Logs destination.
CfnCacheCluster.DestinationDetailsPropertyStructConfiguration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
CfnCacheCluster.EndpointPropertyStruct
CfnCacheCluster.KinesisFirehoseDestinationDetailsPropertyStructThe configuration details of the Kinesis Data Firehose destination.
CfnCacheCluster.LogDeliveryConfigurationRequestPropertyStructSpecifies the destination, format and type of the logs.
CfnCacheClusterPropsStructProperties for defining a CfnCacheCluster.
CfnGlobalReplicationGroup.GlobalReplicationGroupMemberPropertyStructA member of a Global datastore.
CfnGlobalReplicationGroup.RegionalConfigurationPropertyStructA list of the replication groups.
CfnGlobalReplicationGroup.ReshardingConfigurationPropertyStructA list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster.
CfnGlobalReplicationGroupPropsStructProperties for defining a CfnGlobalReplicationGroup.
CfnParameterGroupPropsStructProperties for defining a CfnParameterGroup.
CfnReplicationGroup.CloudWatchLogsDestinationDetailsPropertyStructThe configuration details of the CloudWatch Logs destination.
CfnReplicationGroup.DestinationDetailsPropertyStructConfiguration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
CfnReplicationGroup.EndpointPropertyStruct
CfnReplicationGroup.KinesisFirehoseDestinationDetailsPropertyStructThe configuration details of the Kinesis Data Firehose destination.
CfnReplicationGroup.LogDeliveryConfigurationRequestPropertyStructSpecifies the destination, format and type of the logs.
CfnReplicationGroup.NodeGroupConfigurationPropertyStructNodeGroupConfiguration is a property of the AWS::ElastiCache::ReplicationGroup resource that configures an Amazon ElastiCache (ElastiCache) Valkey or Redis OSS cluster node group.
CfnReplicationGroup.ReadEndPointPropertyStruct
CfnReplicationGroupPropsStructProperties for defining a CfnReplicationGroup.
CfnSecurityGroupIngressPropsStructProperties for defining a CfnSecurityGroupIngress.
CfnSecurityGroupPropsStructProperties for defining a CfnSecurityGroup.
CfnServerlessCache.CacheUsageLimitsPropertyStructThe usage limits for storage and ElastiCache Processing Units for the cache.
CfnServerlessCache.DataStoragePropertyStructThe data storage limit.
CfnServerlessCache.ECPUPerSecondPropertyStructThe configuration for the number of ElastiCache Processing Units (ECPU) the cache can consume per second.
CfnServerlessCache.EndpointPropertyStructRepresents the information required for client programs to connect to a cache node.
CfnServerlessCachePropsStructProperties for defining a CfnServerlessCache.
CfnServerlessCacheSnapshot.ServerlessCacheConfigurationPropertyStruct
CfnServerlessCacheSnapshotPropsStructProperties for defining a CfnServerlessCacheSnapshot.
CfnSnapshot.NodeSnapshotPropertyStruct
CfnSnapshotPropsStructProperties for defining a CfnSnapshot.
CfnSubnetGroupPropsStructProperties for defining a CfnSubnetGroup.
CfnUser.AuthenticationModePropertyStructSpecifies the authentication mode to use.
CfnUserGroupPropsStructProperties for defining a CfnUserGroup.
CfnUserPropsStructProperties for defining a CfnUser.