@Stability(value=Stable) @Internal public static final class CfnReplicationGroup.NodeGroupConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnReplicationGroup.NodeGroupConfigurationProperty
CfnReplicationGroup.NodeGroupConfigurationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnReplicationGroup.NodeGroupConfigurationProperty.Builder, CfnReplicationGroup.NodeGroupConfigurationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnReplicationGroup.NodeGroupConfigurationProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnReplicationGroup.CloudWatchLogsDestinationDetailsProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getNodeGroupId()
Either the ElastiCache for Redis supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
|
String |
getPrimaryAvailabilityZone()
The Availability Zone where the primary node of this node group (shard) is launched.
|
List<String> |
getReplicaAvailabilityZones()
A list of Availability Zones to be used for the read replicas.
|
Number |
getReplicaCount()
The number of read replica nodes in this node group (shard).
|
String |
getSlots()
A string of comma-separated values where the first set of values are the slot numbers (zero based), and the second set of values are the keyspaces for each slot.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnReplicationGroup.NodeGroupConfigurationProperty.Builder builder)
CfnReplicationGroup.CloudWatchLogsDestinationDetailsProperty.Builder.public final String getNodeGroupId()
CfnReplicationGroup.NodeGroupConfigurationPropertygetNodeGroupId in interface CfnReplicationGroup.NodeGroupConfigurationPropertypublic final String getPrimaryAvailabilityZone()
CfnReplicationGroup.NodeGroupConfigurationPropertygetPrimaryAvailabilityZone in interface CfnReplicationGroup.NodeGroupConfigurationPropertypublic final List<String> getReplicaAvailabilityZones()
CfnReplicationGroup.NodeGroupConfigurationProperty
The number of Availability Zones in this list must match the value of ReplicaCount or ReplicasPerNodeGroup if not specified.
getReplicaAvailabilityZones in interface CfnReplicationGroup.NodeGroupConfigurationPropertypublic final Number getReplicaCount()
CfnReplicationGroup.NodeGroupConfigurationPropertygetReplicaCount in interface CfnReplicationGroup.NodeGroupConfigurationPropertypublic final String getSlots()
CfnReplicationGroup.NodeGroupConfigurationProperty
The following example specifies three slots (numbered 0, 1, and 2): 0,1,2,0-4999,5000-9999,10000-16,383 .
If you don't specify a value, ElastiCache allocates keys equally among each slot.
When you use an UseOnlineResharding update policy to update the number of node groups without interruption, ElastiCache evenly distributes the keyspaces between the specified number of slots. This cannot be updated later. Therefore, after updating the number of node groups in this way, you should remove the value specified for the Slots property of each NodeGroupConfiguration from the stack template, as it no longer reflects the actual values in each node group. For more information, see UseOnlineResharding Policy .
getSlots in interface CfnReplicationGroup.NodeGroupConfigurationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.