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:
- Search Construct Hub for ElastiCache construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::ElastiCache resources directly.
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
| Name | Kind | Summary |
|---|---|---|
CfnCacheCluster | Construct (L1) | The AWS::ElastiCache::CacheCluster type creates an Amazon ElastiCache cache cluster. |
CfnGlobalReplicationGroup | Construct (L1) | Consists of a primary cluster that accepts writes and an associated secondary cluster that resides in a different Amazon region. |
CfnParameterGroup | Construct (L1) | The AWS::ElastiCache::ParameterGroup type creates a new cache parameter group. |
CfnReplicationGroup | Construct (L1) | The AWS::ElastiCache::ReplicationGroup resource creates an Amazon ElastiCache (Valkey or Redis OSS) replication group. |
CfnSecurityGroup | Construct (L1) | The AWS::ElastiCache::SecurityGroup resource creates a cache security group. |
CfnSecurityGroupIngress | Construct (L1) | The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups. |
CfnServerlessCache | Construct (L1) | The resource representing a serverless cache. |
CfnServerlessCacheSnapshot | Construct (L1) | Resource Type definition for AWS::ElastiCache::ServerlessCacheSnapshot. |
CfnSnapshot | Construct (L1) | Represents a copy of an entire cluster or replication group as of the time when the snapshot was taken. |
CfnSubnetGroup | Construct (L1) | Creates a cache subnet group. |
CfnUser | Construct (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) . |
CfnUserGroup | Construct (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.CloudWatchLogsDestinationDetailsProperty | Struct | Configuration details of a CloudWatch Logs destination. |
CfnCacheCluster.DestinationDetailsProperty | Struct | Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination. |
CfnCacheCluster.EndpointProperty | Struct | |
CfnCacheCluster.KinesisFirehoseDestinationDetailsProperty | Struct | The configuration details of the Kinesis Data Firehose destination. |
CfnCacheCluster.LogDeliveryConfigurationRequestProperty | Struct | Specifies the destination, format and type of the logs. |
CfnCacheClusterProps | Struct | Properties for defining a CfnCacheCluster. |
CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty | Struct | A member of a Global datastore. |
CfnGlobalReplicationGroup.RegionalConfigurationProperty | Struct | A list of the replication groups. |
CfnGlobalReplicationGroup.ReshardingConfigurationProperty | Struct | A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster. |
CfnGlobalReplicationGroupProps | Struct | Properties for defining a CfnGlobalReplicationGroup. |
CfnParameterGroupProps | Struct | Properties for defining a CfnParameterGroup. |
CfnReplicationGroup.CloudWatchLogsDestinationDetailsProperty | Struct | The configuration details of the CloudWatch Logs destination. |
CfnReplicationGroup.DestinationDetailsProperty | Struct | Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination. |
CfnReplicationGroup.EndpointProperty | Struct | |
CfnReplicationGroup.KinesisFirehoseDestinationDetailsProperty | Struct | The configuration details of the Kinesis Data Firehose destination. |
CfnReplicationGroup.LogDeliveryConfigurationRequestProperty | Struct | Specifies the destination, format and type of the logs. |
CfnReplicationGroup.NodeGroupConfigurationProperty | Struct | NodeGroupConfiguration is a property of the AWS::ElastiCache::ReplicationGroup resource that configures an Amazon ElastiCache (ElastiCache) Valkey or Redis OSS cluster node group. |
CfnReplicationGroup.ReadEndPointProperty | Struct | |
CfnReplicationGroupProps | Struct | Properties for defining a CfnReplicationGroup. |
CfnSecurityGroupIngressProps | Struct | Properties for defining a CfnSecurityGroupIngress. |
CfnSecurityGroupProps | Struct | Properties for defining a CfnSecurityGroup. |
CfnServerlessCache.CacheUsageLimitsProperty | Struct | The usage limits for storage and ElastiCache Processing Units for the cache. |
CfnServerlessCache.DataStorageProperty | Struct | The data storage limit. |
CfnServerlessCache.ECPUPerSecondProperty | Struct | The configuration for the number of ElastiCache Processing Units (ECPU) the cache can consume per second. |
CfnServerlessCache.EndpointProperty | Struct | Represents the information required for client programs to connect to a cache node. |
CfnServerlessCacheProps | Struct | Properties for defining a CfnServerlessCache. |
CfnServerlessCacheSnapshot.ServerlessCacheConfigurationProperty | Struct | |
CfnServerlessCacheSnapshotProps | Struct | Properties for defining a CfnServerlessCacheSnapshot. |
CfnSnapshot.NodeSnapshotProperty | Struct | |
CfnSnapshotProps | Struct | Properties for defining a CfnSnapshot. |
CfnSubnetGroupProps | Struct | Properties for defining a CfnSubnetGroup. |
CfnUser.AuthenticationModeProperty | Struct | Specifies the authentication mode to use. |
CfnUserGroupProps | Struct | Properties for defining a CfnUserGroup. |
CfnUserProps | Struct | Properties for defining a CfnUser. |