@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.984Z") @Stability(value=Stable) public interface CfnGlobalReplicationGroupProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGlobalReplicationGroupProps.Builder
A builder for
CfnGlobalReplicationGroupProps |
static class |
CfnGlobalReplicationGroupProps.Jsii$Proxy
An implementation for
CfnGlobalReplicationGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnGlobalReplicationGroupProps.Builder |
builder() |
default Object |
getAutomaticFailoverEnabled()
Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.
|
default String |
getCacheNodeType()
The cache node type of the Global datastore.
|
default String |
getCacheParameterGroupName()
The name of the cache parameter group to use with the Global datastore.
|
default String |
getEngineVersion()
The Elasticache Redis engine version.
|
default Number |
getGlobalNodeGroupCount()
The number of node groups that comprise the Global Datastore.
|
default String |
getGlobalReplicationGroupDescription()
The optional description of the Global datastore.
|
default String |
getGlobalReplicationGroupIdSuffix()
The suffix name of a Global Datastore.
|
Object |
getMembers()
The replication groups that comprise the Global datastore.
|
default Object |
getRegionalConfigurations()
The Amazon Regions that comprise the Global Datastore.
|
@Stability(value=Stable) @NotNull Object getMembers()
@Stability(value=Stable) @Nullable default Object getAutomaticFailoverEnabled()
AutomaticFailoverEnabled must be enabled for Redis (cluster mode enabled) replication groups.
@Stability(value=Stable) @Nullable default String getCacheNodeType()
@Stability(value=Stable) @Nullable default String getCacheParameterGroupName()
It must be compatible with the major engine version used by the Global datastore.
@Stability(value=Stable) @Nullable default String getEngineVersion()
@Stability(value=Stable) @Nullable default Number getGlobalNodeGroupCount()
@Stability(value=Stable) @Nullable default String getGlobalReplicationGroupDescription()
@Stability(value=Stable) @Nullable default String getGlobalReplicationGroupIdSuffix()
The suffix guarantees uniqueness of the Global Datastore name across multiple regions.
@Stability(value=Stable) @Nullable default Object getRegionalConfigurations()
@Stability(value=Stable) static CfnGlobalReplicationGroupProps.Builder builder()
Copyright © 2022. All rights reserved.