interface CfnGlobalReplicationGroupProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElastiCache.CfnGlobalReplicationGroupProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awselasticache#CfnGlobalReplicationGroupProps |
![]() | software.amazon.awscdk.services.elasticache.CfnGlobalReplicationGroupProps |
![]() | aws_cdk.aws_elasticache.CfnGlobalReplicationGroupProps |
![]() | aws-cdk-lib » aws_elasticache » CfnGlobalReplicationGroupProps |
Properties for defining a CfnGlobalReplicationGroup
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as elasticache } from 'aws-cdk-lib';
const cfnGlobalReplicationGroupProps: elasticache.CfnGlobalReplicationGroupProps = {
members: [{
replicationGroupId: 'replicationGroupId',
replicationGroupRegion: 'replicationGroupRegion',
role: 'role',
}],
// the properties below are optional
automaticFailoverEnabled: false,
cacheNodeType: 'cacheNodeType',
cacheParameterGroupName: 'cacheParameterGroupName',
engine: 'engine',
engineVersion: 'engineVersion',
globalNodeGroupCount: 123,
globalReplicationGroupDescription: 'globalReplicationGroupDescription',
globalReplicationGroupIdSuffix: 'globalReplicationGroupIdSuffix',
regionalConfigurations: [{
replicationGroupId: 'replicationGroupId',
replicationGroupRegion: 'replicationGroupRegion',
reshardingConfigurations: [{
nodeGroupId: 'nodeGroupId',
preferredAvailabilityZones: ['preferredAvailabilityZones'],
}],
}],
};
Properties
Name | Type | Description |
---|---|---|
members | IResolvable | IResolvable | Global [] | The replication groups that comprise the Global datastore. |
automatic | boolean | IResolvable | Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. |
cache | string | The cache node type of the Global datastore. |
cache | string | The name of the cache parameter group to use with the Global datastore. |
engine? | string | The ElastiCache engine. |
engine | string | The Elasticache Valkey or Redis OSS engine version. |
global | number | The number of node groups that comprise the Global Datastore. |
global | string | The optional description of the Global datastore. |
global | string | The suffix name of a Global Datastore. |
regional | IResolvable | IResolvable | Regional [] | The Regions that comprise the Global Datastore. |
members
Type:
IResolvable
|
IResolvable
|
Global
[]
The replication groups that comprise the Global datastore.
automaticFailoverEnabled?
Type:
boolean |
IResolvable
(optional)
Specifies 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.
cacheNodeType?
Type:
string
(optional)
The cache node type of the Global datastore.
cacheParameterGroupName?
Type:
string
(optional)
The 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.
engine?
Type:
string
(optional)
The ElastiCache engine.
For Valkey or Redis OSS only.
engineVersion?
Type:
string
(optional)
The Elasticache Valkey or Redis OSS engine version.
globalNodeGroupCount?
Type:
number
(optional)
The number of node groups that comprise the Global Datastore.
globalReplicationGroupDescription?
Type:
string
(optional)
The optional description of the Global datastore.
globalReplicationGroupIdSuffix?
Type:
string
(optional)
The suffix name of a Global Datastore.
The suffix guarantees uniqueness of the Global Datastore name across multiple regions.
regionalConfigurations?
Type:
IResolvable
|
IResolvable
|
Regional
[]
(optional)
The Regions that comprise the Global Datastore.