@Stability(value=Stable)
public static interface CfnGlobalTable.ReadProvisionedThroughputSettingsProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Builder
A builder for
CfnGlobalTable.ReadProvisionedThroughputSettingsProperty |
static class |
CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Jsii$Proxy
An implementation for
CfnGlobalTable.ReadProvisionedThroughputSettingsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Builder |
builder() |
default Object |
getReadCapacityAutoScalingSettings()
Specifies auto scaling settings for the replica table or global secondary index.
|
default Number |
getReadCapacityUnits()
Specifies a fixed read capacity for the replica table or global secondary index.
|
@Stability(value=Stable) @Nullable default Object getReadCapacityAutoScalingSettings()
@Stability(value=Stable) @Nullable default Number getReadCapacityUnits()
@Stability(value=Stable) static CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Builder builder()
Copyright © 2022. All rights reserved.