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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticache.CfnReplicationGroup.NodeGroupConfigurationProperty
CfnReplicationGroup.NodeGroupConfigurationProperty.Builder, CfnReplicationGroup.NodeGroupConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnReplicationGroup.NodeGroupConfigurationProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringEither the ElastiCache supplied 4-digit id or a user supplied id for the node group these configuration values apply to.final StringThe 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 NumberThe number of read replica nodes in this node group (shard).final StringgetSlots()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 inthashCode()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.NodeGroupConfigurationPropertyEither the ElastiCache supplied 4-digit id or a user supplied id for the node group these configuration values apply to.- Specified by:
getNodeGroupIdin interfaceCfnReplicationGroup.NodeGroupConfigurationProperty- See Also:
-
getPrimaryAvailabilityZone
Description copied from interface:CfnReplicationGroup.NodeGroupConfigurationPropertyThe Availability Zone where the primary node of this node group (shard) is launched.- Specified by:
getPrimaryAvailabilityZonein interfaceCfnReplicationGroup.NodeGroupConfigurationProperty- See Also:
-
getReplicaAvailabilityZones
Description copied from interface:CfnReplicationGroup.NodeGroupConfigurationPropertyA list of Availability Zones to be used for the read replicas.The number of Availability Zones in this list must match the value of
ReplicaCountorReplicasPerNodeGroupif not specified.- Specified by:
getReplicaAvailabilityZonesin interfaceCfnReplicationGroup.NodeGroupConfigurationProperty- See Also:
-
getReplicaCount
Description copied from interface:CfnReplicationGroup.NodeGroupConfigurationPropertyThe number of read replica nodes in this node group (shard).- Specified by:
getReplicaCountin interfaceCfnReplicationGroup.NodeGroupConfigurationProperty- See Also:
-
getSlots
Description copied from interface:CfnReplicationGroup.NodeGroupConfigurationPropertyA 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
UseOnlineReshardingupdate 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 theSlotsproperty of eachNodeGroupConfigurationfrom the stack template, as it no longer reflects the actual values in each node group. For more information, see UseOnlineResharding Policy .- Specified by:
getSlotsin interfaceCfnReplicationGroup.NodeGroupConfigurationProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-