AWS::ElastiCache::GlobalReplicationGroupConsists of a primary cluster that accepts writes and an associated secondary cluster that resides in a different Amazon region. The secondary cluster accepts only reads. The primary cluster automatically replicates updates to the secondary cluster. - The *GlobalReplicationGroupIdSuffix* represents the name of the Global datastore, which is what you use to associate a secondary cluster.
import { CfnGlobalReplicationGroup } from 'aws-cdk-lib/aws-elasticache';Or use the module namespace:
import * as elasticache from 'aws-cdk-lib/aws-elasticache';
// elasticache.CfnGlobalReplicationGroupConfiguration passed to the constructor as CfnGlobalReplicationGroupProps.
membersRequiredIResolvable | IResolvable | GlobalReplicationGroupMemberProperty[]The replication groups that comprise the Global datastore.
automaticFailoverEnabledOptionalboolean | IResolvableSpecifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. `AutomaticFailoverEnabled` must be enabled for Valkey or Redis OSS (cluster mode enabled) replication groups.
cacheNodeTypeOptionalstringThe cache node type of the Global datastore.
cacheParameterGroupNameOptionalstringThe name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.
engineOptionalstringThe ElastiCache engine. For Valkey or Redis OSS only.
engineVersionOptionalstringThe Elasticache Valkey or Redis OSS engine version.
globalNodeGroupCountOptionalnumberThe number of node groups that comprise the Global Datastore.
globalReplicationGroupDescriptionOptionalstringThe optional description of the Global datastore.
globalReplicationGroupIdSuffixOptionalstringThe suffix name of a Global Datastore. The suffix guarantees uniqueness of the Global Datastore name across multiple regions.
regionalConfigurationsOptionalIResolvable | IResolvable | RegionalConfigurationProperty[]The Regions that comprise the Global Datastore.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-elasticacheAWS::ElastiCache::GlobalReplicationGroup