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: