interface TargetTrackingScalingPolicyConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DynamoDB.Mixins.CfnGlobalTablePropsMixin.TargetTrackingScalingPolicyConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdynamodb/mixins#CfnGlobalTablePropsMixin_TargetTrackingScalingPolicyConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.dynamodb.mixins.CfnGlobalTablePropsMixin.TargetTrackingScalingPolicyConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_dynamodb.mixins.CfnGlobalTablePropsMixin.TargetTrackingScalingPolicyConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_dynamodb » mixins » CfnGlobalTablePropsMixin » TargetTrackingScalingPolicyConfigurationProperty |
Defines a target tracking scaling policy.
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 targetTrackingScalingPolicyConfigurationProperty: dynamodb_mixins.CfnGlobalTablePropsMixin.TargetTrackingScalingPolicyConfigurationProperty = {
disableScaleIn: false,
scaleInCooldown: 123,
scaleOutCooldown: 123,
targetValue: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| disable | boolean | IResolvable | Indicates whether scale in by the target tracking scaling policy is disabled. |
| scale | number | The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. |
| scale | number | The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. |
| target | number | Defines a target value for the scaling policy. |
disableScaleIn?
Type:
boolean | IResolvable
(optional)
Indicates whether scale in by the target tracking scaling policy is disabled.
The default value is false .
scaleInCooldown?
Type:
number
(optional)
The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start.
scaleOutCooldown?
Type:
number
(optional)
The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start.
targetValue?
Type:
number
(optional)
Defines a target value for the scaling policy.

.NET
Go
Java
Python
TypeScript