Interface CfnGlobalTable.WriteProvisionedThroughputSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGlobalTable.WriteProvisionedThroughputSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnGlobalTable
@Stability(Stable)
public static interface CfnGlobalTable.WriteProvisionedThroughputSettingsProperty
extends software.amazon.jsii.JsiiSerializable
Specifies an auto scaling policy for write capacity.
This policy will be applied to all replicas. This setting must be specified if BillingMode is set to PROVISIONED .
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.*;
WriteProvisionedThroughputSettingsProperty writeProvisionedThroughputSettingsProperty = WriteProvisionedThroughputSettingsProperty.builder()
.writeCapacityAutoScalingSettings(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())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnGlobalTable.WriteProvisionedThroughputSettingsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getWriteCapacityAutoScalingSettings
Specifies auto scaling settings for the replica table or global secondary index.Returns union: either
IResolvableorCfnGlobalTable.CapacityAutoScalingSettingsProperty- See Also:
-
builder
@Stability(Stable) static CfnGlobalTable.WriteProvisionedThroughputSettingsProperty.Builder builder()
-