Class CfnReplicationGroup.NodeGroupConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnReplicationGroup.NodeGroupConfigurationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnReplicationGroup.NodeGroupConfigurationProperty
CfnReplicationGroup.NodeGroupConfigurationProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticache.CfnReplicationGroup.NodeGroupConfigurationProperty
CfnReplicationGroup.NodeGroupConfigurationProperty.Builder, CfnReplicationGroup.NodeGroupConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnReplicationGroup.NodeGroupConfigurationProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
Either the ElastiCache supplied 4-digit id or a user supplied id for the node group these configuration values apply to.final String
The Availability Zone where the primary node of this node group (shard) is launched.A list of Availability Zones to be used for the read replicas.final Number
The number of read replica nodes in this node group (shard).final 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.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnReplicationGroup.NodeGroupConfigurationProperty.Builder
.
-
-
Method Details
-
getNodeGroupId
Description copied from interface:CfnReplicationGroup.NodeGroupConfigurationProperty
Either the ElastiCache supplied 4-digit id or a user supplied id for the node group these configuration values apply to.- Specified by:
getNodeGroupId
in interfaceCfnReplicationGroup.NodeGroupConfigurationProperty
- See Also:
-
getPrimaryAvailabilityZone
Description copied from interface:CfnReplicationGroup.NodeGroupConfigurationProperty
The Availability Zone where the primary node of this node group (shard) is launched.- Specified by:
getPrimaryAvailabilityZone
in interfaceCfnReplicationGroup.NodeGroupConfigurationProperty
- See Also:
-
getReplicaAvailabilityZones
Description copied from interface:CfnReplicationGroup.NodeGroupConfigurationProperty
A list of Availability Zones to be used for the read replicas.The number of Availability Zones in this list must match the value of
ReplicaCount
orReplicasPerNodeGroup
if not specified.- Specified by:
getReplicaAvailabilityZones
in interfaceCfnReplicationGroup.NodeGroupConfigurationProperty
- See Also:
-
getReplicaCount
Description copied from interface:CfnReplicationGroup.NodeGroupConfigurationProperty
The number of read replica nodes in this node group (shard).- Specified by:
getReplicaCount
in interfaceCfnReplicationGroup.NodeGroupConfigurationProperty
- See Also:
-
getSlots
Description copied from interface:CfnReplicationGroup.NodeGroupConfigurationProperty
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.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 theSlots
property of eachNodeGroupConfiguration
from the stack template, as it no longer reflects the actual values in each node group. For more information, see UseOnlineResharding Policy .- Specified by:
getSlots
in interfaceCfnReplicationGroup.NodeGroupConfigurationProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-