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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty
CfnGlobalTable.CapacityAutoScalingSettingsProperty.Builder, CfnGlobalTable.CapacityAutoScalingSettingsProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnGlobalTable.CapacityAutoScalingSettingsProperty.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 NumberThe maximum provisioned capacity units for the global table.final NumberThe minimum provisioned capacity units for the global table.final NumberWhen switching billing mode fromPAY_PER_REQUESTtoPROVISIONED, DynamoDB requires you to specify read and write capacity unit values for the table and for each global secondary index.final ObjectDefines a target tracking scaling policy.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 theCfnGlobalTable.CapacityAutoScalingSettingsProperty.Builder.
-
-
Method Details
-
getMaxCapacity
Description copied from interface:CfnGlobalTable.CapacityAutoScalingSettingsPropertyThe maximum provisioned capacity units for the global table.- Specified by:
getMaxCapacityin interfaceCfnGlobalTable.CapacityAutoScalingSettingsProperty- See Also:
-
getMinCapacity
Description copied from interface:CfnGlobalTable.CapacityAutoScalingSettingsPropertyThe minimum provisioned capacity units for the global table.- Specified by:
getMinCapacityin interfaceCfnGlobalTable.CapacityAutoScalingSettingsProperty- See Also:
-
getTargetTrackingScalingPolicyConfiguration
Description copied from interface:CfnGlobalTable.CapacityAutoScalingSettingsPropertyDefines a target tracking scaling policy.Returns union: either
IResolvableorCfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty- Specified by:
getTargetTrackingScalingPolicyConfigurationin interfaceCfnGlobalTable.CapacityAutoScalingSettingsProperty- See Also:
-
getSeedCapacity
Description copied from interface:CfnGlobalTable.CapacityAutoScalingSettingsPropertyWhen switching billing mode fromPAY_PER_REQUESTtoPROVISIONED, 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_REQUESTtoPROVISIONED, 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 theSeedCapacityorReadCapacityUnitsproperties. For example, if your global secondary indexmyGSIhas aSeedCapacityof 10 in us-east-1 and a fixedReadCapacityUnitsof 20 in eu-west-1, CloudFormation will initially set the read capacity formyGSIto 20. Note that if you disableScaleInformyGSIin us-east-1, its read capacity units might not be set back to 10.You must also specify a value for
SeedCapacitywhen you plan to switch a table's billing mode fromPROVISIONEDtoPAY_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:
getSeedCapacityin interfaceCfnGlobalTable.CapacityAutoScalingSettingsProperty- 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()
-