@Stability(value=Stable) @Internal public static final class CfnGlobalTable.CapacityAutoScalingSettingsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnGlobalTable.CapacityAutoScalingSettingsProperty
CfnGlobalTable.CapacityAutoScalingSettingsPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnGlobalTable.CapacityAutoScalingSettingsProperty.Builder, CfnGlobalTable.CapacityAutoScalingSettingsProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnGlobalTable.CapacityAutoScalingSettingsProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnGlobalTable.AttributeDefinitionProperty.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) |
Number |
getMaxCapacity()
The maximum provisioned capacity units for the global table.
|
Number |
getMinCapacity()
The minimum provisioned capacity units for the global table.
|
Number |
getSeedCapacity()
When switching billing mode from `PAY_PER_REQUEST` to `PROVISIONED` , DynamoDB requires you to specify read and write capacity unit values for the table and for each global secondary index.
|
Object |
getTargetTrackingScalingPolicyConfiguration()
Defines a target tracking scaling policy.
|
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(CfnGlobalTable.CapacityAutoScalingSettingsProperty.Builder builder)
CfnGlobalTable.AttributeDefinitionProperty.Builder.public final Number getMaxCapacity()
CfnGlobalTable.CapacityAutoScalingSettingsPropertygetMaxCapacity in interface CfnGlobalTable.CapacityAutoScalingSettingsPropertypublic final Number getMinCapacity()
CfnGlobalTable.CapacityAutoScalingSettingsPropertygetMinCapacity in interface CfnGlobalTable.CapacityAutoScalingSettingsPropertypublic final Object getTargetTrackingScalingPolicyConfiguration()
CfnGlobalTable.CapacityAutoScalingSettingsPropertygetTargetTrackingScalingPolicyConfiguration in interface CfnGlobalTable.CapacityAutoScalingSettingsPropertypublic final Number getSeedCapacity()
CfnGlobalTable.CapacityAutoScalingSettingsPropertyThese values will be applied to all replicas. The table will use these provisioned values until CloudFormation creates the autoscaling policies you configured in your template. CloudFormation cannot determine what capacity the table and its global secondary indexes will require in this time period, since they are application-dependent.
If you want to switch a table's billing mode from PAY_PER_REQUEST to PROVISIONED , you must specify a value for this property for each autoscaled resource. If you specify different values for the same resource in different regions, CloudFormation will use the highest value found in either the SeedCapacity or ReadCapacityUnits properties. For example, if your global secondary index myGSI has a SeedCapacity of 10 in us-east-1 and a fixed ReadCapacityUnits of 20 in eu-west-1, CloudFormation will initially set the read capacity for myGSI to 20. Note that if you disable ScaleIn for myGSI in us-east-1, its read capacity units might not be set back to 10.
You must also specify a value for SeedCapacity when you plan to switch a table's billing mode from PROVISIONED to PAY_PER_REQUEST , because CloudFormation might need to roll back the operation (reverting the billing mode to PROVISIONED ) and this cannot succeed without specifying a value for SeedCapacity .
getSeedCapacity in interface CfnGlobalTable.CapacityAutoScalingSettingsProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.