interface TargetTrackingScalingPolicyConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.DynamoDB.CfnGlobalTablePropsMixin.TargetTrackingScalingPolicyConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsdynamodb#CfnGlobalTablePropsMixin_TargetTrackingScalingPolicyConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.dynamodb.CfnGlobalTablePropsMixin.TargetTrackingScalingPolicyConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_dynamodb.CfnGlobalTablePropsMixin.TargetTrackingScalingPolicyConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_dynamodb » 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 { aws_dynamodb as dynamodb } from '@aws-cdk/cfn-property-mixins';
const targetTrackingScalingPolicyConfigurationProperty: dynamodb.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