Interface CfnGlobalTable.ReadProvisionedThroughputSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Jsii$Proxy
- Enclosing class:
- CfnGlobalTable
@Stability(Stable)
public static interface CfnGlobalTable.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.services.dynamodb.*; ReadProvisionedThroughputSettingsProperty readProvisionedThroughputSettingsProperty = ReadProvisionedThroughputSettingsProperty.builder() .readCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() .maxCapacity(123) .minCapacity(123) .targetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfigurationProperty.builder() .targetValue(123) // the properties below are optional .disableScaleIn(false) .scaleInCooldown(123) .scaleOutCooldown(123) .build()) // the properties below are optional .seedCapacity(123) .build()) .readCapacityUnits(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGlobalTable.ReadProvisionedThroughputSettingsProperty
static final class
An implementation forCfnGlobalTable.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. -
getReadCapacityUnits
Specifies a fixed read capacity for the replica table or global secondary index. -
builder
@Stability(Stable) static CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Builder builder()
-