Interface CfnTablePropsMixin.ReplicaSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTablePropsMixin.ReplicaSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnTablePropsMixin
@Stability(Stable)
public static interface CfnTablePropsMixin.ReplicaSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
The AWS Region specific settings of a multi-Region table.
For a multi-Region table, you can configure the table's read capacity differently per AWS Region. You can do this by configuring the following parameters.
region: The Region where these settings are applied. (Required)readCapacityUnits: The provisioned read capacity units. (Optional)readCapacityAutoScaling: The read capacity auto scaling settings for the table. (Optional)
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.cassandra.*;
ReplicaSpecificationProperty replicaSpecificationProperty = ReplicaSpecificationProperty.builder()
.readCapacityAutoScaling(AutoScalingSettingProperty.builder()
.autoScalingDisabled(false)
.maximumUnits(123)
.minimumUnits(123)
.scalingPolicy(ScalingPolicyProperty.builder()
.targetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfigurationProperty.builder()
.disableScaleIn(false)
.scaleInCooldown(123)
.scaleOutCooldown(123)
.targetValue(123)
.build())
.build())
.build())
.readCapacityUnits(123)
.region("region")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTablePropsMixin.ReplicaSpecificationPropertystatic final classAn implementation forCfnTablePropsMixin.ReplicaSpecificationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getReadCapacityAutoScaling
The read capacity auto scaling settings for the multi-Region table in the specified AWS Region.Returns union: either
IResolvableorCfnTablePropsMixin.AutoScalingSettingProperty- See Also:
-
getReadCapacityUnits
The provisioned read capacity units for the multi-Region table in the specified AWS Region.- See Also:
-
getRegion
The AWS Region.- See Also:
-
builder
-