Class CfnGlobalTable.CapacityAutoScalingSettingsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnGlobalTable.CapacityAutoScalingSettingsProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGlobalTable.CapacityAutoScalingSettingsProperty
CfnGlobalTable.CapacityAutoScalingSettingsProperty
-
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.dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty
CfnGlobalTable.CapacityAutoScalingSettingsProperty.Builder, CfnGlobalTable.CapacityAutoScalingSettingsProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnGlobalTable.CapacityAutoScalingSettingsProperty.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 Number
The maximum provisioned capacity units for the global table.final Number
The minimum provisioned capacity units for the global table.final Number
When switching billing mode fromPAY_PER_REQUEST
toPROVISIONED
, DynamoDB requires you to specify read and write capacity unit values for the table and for each global secondary index.final Object
Defines a target tracking scaling policy.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 theCfnGlobalTable.CapacityAutoScalingSettingsProperty.Builder
.
-
-
Method Details
-
getMaxCapacity
Description copied from interface:CfnGlobalTable.CapacityAutoScalingSettingsProperty
The maximum provisioned capacity units for the global table.- Specified by:
getMaxCapacity
in interfaceCfnGlobalTable.CapacityAutoScalingSettingsProperty
- See Also:
-
getMinCapacity
Description copied from interface:CfnGlobalTable.CapacityAutoScalingSettingsProperty
The minimum provisioned capacity units for the global table.- Specified by:
getMinCapacity
in interfaceCfnGlobalTable.CapacityAutoScalingSettingsProperty
- See Also:
-
getTargetTrackingScalingPolicyConfiguration
Description copied from interface:CfnGlobalTable.CapacityAutoScalingSettingsProperty
Defines a target tracking scaling policy.- Specified by:
getTargetTrackingScalingPolicyConfiguration
in interfaceCfnGlobalTable.CapacityAutoScalingSettingsProperty
- See Also:
-
getSeedCapacity
Description copied from interface:CfnGlobalTable.CapacityAutoScalingSettingsProperty
When switching billing mode fromPAY_PER_REQUEST
toPROVISIONED
, DynamoDB requires you to specify read and write capacity unit values for the table and for each global secondary index.These 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
toPROVISIONED
, 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 theSeedCapacity
orReadCapacityUnits
properties. For example, if your global secondary indexmyGSI
has aSeedCapacity
of 10 in us-east-1 and a fixedReadCapacityUnits
of 20 in eu-west-1, CloudFormation will initially set the read capacity formyGSI
to 20. Note that if you disableScaleIn
formyGSI
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 fromPROVISIONED
toPAY_PER_REQUEST
, because CloudFormation might need to roll back the operation (reverting the billing mode toPROVISIONED
) and this cannot succeed without specifying a value forSeedCapacity
.- Specified by:
getSeedCapacity
in interfaceCfnGlobalTable.CapacityAutoScalingSettingsProperty
- 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()
-