aws-cdk-lib.aws_dynamodb.CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty

interface TargetTrackingScalingPolicyConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.DynamoDB.CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdynamodb#CfnGlobalTable_TargetTrackingScalingPolicyConfigurationProperty
Javasoftware.amazon.awscdk.services.dynamodb.CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty
Pythonaws_cdk.aws_dynamodb.CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty
TypeScript aws-cdk-lib » aws_dynamodb » CfnGlobalTable » 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-lib';
const targetTrackingScalingPolicyConfigurationProperty: dynamodb.CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty = {
  targetValue: 123,

  // the properties below are optional
  disableScaleIn: false,
  scaleInCooldown: 123,
  scaleOutCooldown: 123,
};

Properties

NameTypeDescription
targetValuenumberDefines a target value for the scaling policy.
disableScaleIn?boolean | IResolvableIndicates whether scale in by the target tracking scaling policy is disabled.
scaleInCooldown?numberThe amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start.
scaleOutCooldown?numberThe amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start.

targetValue

Type: 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.