Interface CfnTable.ReplicaSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTable.ReplicaSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnTable
@Stability(Stable)
public static interface CfnTable.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.services.cassandra.*; ReplicaSpecificationProperty replicaSpecificationProperty = ReplicaSpecificationProperty.builder() .region("region") // the properties below are optional .readCapacityAutoScaling(AutoScalingSettingProperty.builder() .autoScalingDisabled(false) .maximumUnits(123) .minimumUnits(123) .scalingPolicy(ScalingPolicyProperty.builder() .targetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfigurationProperty.builder() .targetValue(123) // the properties below are optional .disableScaleIn(false) .scaleInCooldown(123) .scaleOutCooldown(123) .build()) .build()) .build()) .readCapacityUnits(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTable.ReplicaSpecificationProperty
static final class
An implementation forCfnTable.ReplicaSpecificationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRegion
The AWS Region.- See Also:
-
getReadCapacityAutoScaling
The read capacity auto scaling settings for the multi-Region table in the specified AWS Region.- See Also:
-
getReadCapacityUnits
The provisioned read capacity units for the multi-Region table in the specified AWS Region.- See Also:
-
builder
-