TargetTrackingScalingPolicyConfigurationProperty Struct
Defines a target tracking scaling policy.
Example
ts
// 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
disableScaleInboolean | IResolvabledisable_scale_intyping.Union[bool, IResolvable]disableScaleInBooleanDisableScaleInboolDisableScaleIninterface{}#Indicates whether scale in by the target tracking scaling policy is disabled.
The default value is false .
scaleInCooldownnumberscale_in_cooldownint | floatscaleInCooldownNumberScaleInCooldowndoubleScaleInCooldown*float64#The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start.
scaleOutCooldownnumberscale_out_cooldownint | floatscaleOutCooldownNumberScaleOutCooldowndoubleScaleOutCooldown*float64#The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start.
targetValuenumbertarget_valueint | floattargetValueNumberTargetValuedoubleTargetValue*float64required#Defines a target value for the scaling policy.