Skip to content
v2.273.0

ReadProvisionedThroughputSettingsProperty Struct ​

Allows you to specify the read capacity settings for a replica table or a replica global secondary index when the BillingMode is set to PROVISIONED .

You must specify a value for either ReadCapacityUnits or ReadCapacityAutoScalingSettings , but not both. You can switch between fixed capacity and auto scaling.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const readProvisionedThroughputSettingsProperty: dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty = {
  readCapacityAutoScalingSettings: {
    maxCapacity: 123,
    minCapacity: 123,
    targetTrackingScalingPolicyConfiguration: {
      targetValue: 123,

      // the properties below are optional
      disableScaleIn: false,
      scaleInCooldown: 123,
      scaleOutCooldown: 123,
    },

    // the properties below are optional
    seedCapacity: 123,
  },
  readCapacityUnits: 123,
};

Properties ​

readCapacityAutoScalingSettingsIResolvable | CfnGlobalTable.CapacityAutoScalingSettingsPropertyread_capacity_auto_scaling_settingstyping.Union[IResolvable, CapacityAutoScalingSettingsProperty]readCapacityAutoScalingSettingsIResolvableReadCapacityAutoScalingSettingsIResolvableReadCapacityAutoScalingSettingsinterface{}#
Specifies auto scaling settings for the replica table or global secondary index.
readCapacityUnitsnumberread_capacity_unitsint | floatreadCapacityUnitsNumberReadCapacityUnitsdoubleReadCapacityUnits*float64#
Specifies a fixed read capacity for the replica table or global secondary index.