Interface CfnGlobalTablePropsMixin.ReadProvisionedThroughputSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGlobalTablePropsMixin.ReadProvisionedThroughputSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnGlobalTablePropsMixin
@Stability(Stable)
public static interface CfnGlobalTablePropsMixin.ReadProvisionedThroughputSettingsProperty
extends software.amazon.jsii.JsiiSerializable
Allows you to specify the read capacity settings for a replica table or a replica global secondary index when the
BillingMode is set to PROVISIONED .
You must specify a value for either ReadCapacityUnits or ReadCapacityAutoScalingSettings , but not both. You can switch between fixed capacity and auto scaling.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.dynamodb.*;
ReadProvisionedThroughputSettingsProperty readProvisionedThroughputSettingsProperty = ReadProvisionedThroughputSettingsProperty.builder()
.readCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder()
.maxCapacity(123)
.minCapacity(123)
.seedCapacity(123)
.targetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfigurationProperty.builder()
.disableScaleIn(false)
.scaleInCooldown(123)
.scaleOutCooldown(123)
.targetValue(123)
.build())
.build())
.readCapacityUnits(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnGlobalTablePropsMixin.ReadProvisionedThroughputSettingsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getReadCapacityAutoScalingSettings
Specifies auto scaling settings for the replica table or global secondary index.Returns union: either
IResolvableorCfnGlobalTablePropsMixin.CapacityAutoScalingSettingsProperty- See Also:
-
getReadCapacityUnits
Specifies a fixed read capacity for the replica table or global secondary index.- See Also:
-
builder
@Stability(Stable) static CfnGlobalTablePropsMixin.ReadProvisionedThroughputSettingsProperty.Builder builder()
-