Interface CfnGlobalReplicationGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGlobalReplicationGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:04.897Z")
@Stability(Stable)
public interface CfnGlobalReplicationGroupProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.elasticache.*;
CfnGlobalReplicationGroupProps cfnGlobalReplicationGroupProps = CfnGlobalReplicationGroupProps.builder()
.members(List.of(GlobalReplicationGroupMemberProperty.builder()
.replicationGroupId("replicationGroupId")
.replicationGroupRegion("replicationGroupRegion")
.role("role")
.build()))
// the properties below are optional
.automaticFailoverEnabled(false)
.cacheNodeType("cacheNodeType")
.cacheParameterGroupName("cacheParameterGroupName")
.engine("engine")
.engineVersion("engineVersion")
.globalNodeGroupCount(123)
.globalReplicationGroupDescription("globalReplicationGroupDescription")
.globalReplicationGroupIdSuffix("globalReplicationGroupIdSuffix")
.regionalConfigurations(List.of(RegionalConfigurationProperty.builder()
.replicationGroupId("replicationGroupId")
.replicationGroupRegion("replicationGroupRegion")
.reshardingConfigurations(List.of(ReshardingConfigurationProperty.builder()
.nodeGroupId("nodeGroupId")
.preferredAvailabilityZones(List.of("preferredAvailabilityZones"))
.build()))
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGlobalReplicationGroupPropsstatic final classAn implementation forCfnGlobalReplicationGroupProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.default StringThe cache node type of the Global datastore.default StringThe name of the cache parameter group to use with the Global datastore.default StringThe ElastiCache engine.default StringThe Elasticache Valkey or Redis OSS engine version.default NumberThe number of node groups that comprise the Global Datastore.default StringThe optional description of the Global datastore.default StringThe suffix name of a Global Datastore.The replication groups that comprise the Global datastore.default ObjectThe Regions that comprise the Global Datastore.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMembers
The replication groups that comprise the Global datastore.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty>- See Also:
-
getAutomaticFailoverEnabled
Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.AutomaticFailoverEnabledmust be enabled for Valkey or Redis OSS (cluster mode enabled) replication groups.Returns union: either
BooleanorIResolvable- See Also:
-
getCacheNodeType
The cache node type of the Global datastore.- See Also:
-
getCacheParameterGroupName
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.
- See Also:
-
getEngine
The ElastiCache engine.For Valkey or Redis OSS only.
- See Also:
-
getEngineVersion
The Elasticache Valkey or Redis OSS engine version.- See Also:
-
getGlobalNodeGroupCount
The number of node groups that comprise the Global Datastore.- See Also:
-
getGlobalReplicationGroupDescription
The optional description of the Global datastore.- See Also:
-
getGlobalReplicationGroupIdSuffix
The suffix name of a Global Datastore.The suffix guarantees uniqueness of the Global Datastore name across multiple regions.
- See Also:
-
getRegionalConfigurations
The Regions that comprise the Global Datastore.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGlobalReplicationGroup.RegionalConfigurationProperty>- See Also:
-
builder
-