aws-cdk-lib.aws_dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty

interface ReadProvisionedThroughputSettingsProperty

LanguageType name
.NETAmazon.CDK.AWS.DynamoDB.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdynamodb#CfnGlobalTable_ReadProvisionedThroughputSettingsProperty
Javasoftware.amazon.awscdk.services.dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty
Pythonaws_cdk.aws_dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty
TypeScript aws-cdk-lib » aws_dynamodb » CfnGlobalTable » ReadProvisionedThroughputSettingsProperty

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

// 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

NameTypeDescription
readCapacityAutoScalingSettings?IResolvable | CapacityAutoScalingSettingsPropertySpecifies auto scaling settings for the replica table or global secondary index.
readCapacityUnits?numberSpecifies a fixed read capacity for the replica table or global secondary index.

readCapacityAutoScalingSettings?

Type: IResolvable | CapacityAutoScalingSettingsProperty (optional)

Specifies auto scaling settings for the replica table or global secondary index.


readCapacityUnits?

Type: number (optional)

Specifies a fixed read capacity for the replica table or global secondary index.