interface ReadProvisionedThroughputSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DynamoDB.Mixins.CfnGlobalTablePropsMixin.ReadProvisionedThroughputSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdynamodb/mixins#CfnGlobalTablePropsMixin_ReadProvisionedThroughputSettingsProperty |
Java | software.amazon.awscdk.mixins.preview.services.dynamodb.mixins.CfnGlobalTablePropsMixin.ReadProvisionedThroughputSettingsProperty |
Python | aws_cdk.mixins_preview.aws_dynamodb.mixins.CfnGlobalTablePropsMixin.ReadProvisionedThroughputSettingsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_dynamodb » mixins » CfnGlobalTablePropsMixin » 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 { mixins as dynamodb_mixins } from '@aws-cdk/mixins-preview/aws-dynamodb';
const readProvisionedThroughputSettingsProperty: dynamodb_mixins.CfnGlobalTablePropsMixin.ReadProvisionedThroughputSettingsProperty = {
readCapacityAutoScalingSettings: {
maxCapacity: 123,
minCapacity: 123,
seedCapacity: 123,
targetTrackingScalingPolicyConfiguration: {
disableScaleIn: false,
scaleInCooldown: 123,
scaleOutCooldown: 123,
targetValue: 123,
},
},
readCapacityUnits: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| read | IResolvable | Capacity | Specifies auto scaling settings for the replica table or global secondary index. |
| read | number | Specifies a fixed read capacity for the replica table or global secondary index. |
readCapacityAutoScalingSettings?
Type:
IResolvable | Capacity
(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.

.NET
Go
Java
Python
TypeScript