interface IScalableTableAttribute
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DynamoDB.IScalableTableAttribute |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdynamodb#IScalableTableAttribute |
![]() | software.amazon.awscdk.services.dynamodb.IScalableTableAttribute |
![]() | aws_cdk.aws_dynamodb.IScalableTableAttribute |
![]() | aws-cdk-lib » aws_dynamodb » IScalableTableAttribute |
Obtainable from
Table
.autoScaleGlobalSecondaryIndexReadCapacity()
, Table
.autoScaleGlobalSecondaryIndexWriteCapacity()
, Table
.autoScaleReadCapacity()
, Table
.autoScaleWriteCapacity()
Interface for scalable attributes.
Methods
Name | Description |
---|---|
scale | Add scheduled scaling for this scaling attribute. |
scale | Scale out or in to keep utilization at a given level. |
scaleOnSchedule(id, actions)
public scaleOnSchedule(id: string, actions: ScalingSchedule): void
Parameters
- id
string
- actions
Scaling
Schedule
Add scheduled scaling for this scaling attribute.
scaleOnUtilization(props)
public scaleOnUtilization(props: UtilizationScalingProps): void
Parameters
- props
Utilization
Scaling Props
Scale out or in to keep utilization at a given level.