Interface CfnGlobalReplicationGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGlobalReplicationGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.453Z")
@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")
.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();
-
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 Redis 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. -
getAutomaticFailoverEnabled
Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.AutomaticFailoverEnabledmust be enabled for Redis (cluster mode enabled) replication groups. -
getCacheNodeType
The cache node type of the Global datastore. -
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.
-
getEngineVersion
The Elasticache Redis engine version. -
getGlobalNodeGroupCount
The number of node groups that comprise the Global Datastore. -
getGlobalReplicationGroupDescription
The optional description of the Global datastore. -
getGlobalReplicationGroupIdSuffix
The suffix name of a Global Datastore.The suffix guarantees uniqueness of the Global Datastore name across multiple regions.
-
getRegionalConfigurations
The Regions that comprise the Global Datastore. -
builder
-