Interface IBaseTargetTrackingProps
Base interface for target tracking props.
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IBaseTargetTrackingProps
Syntax (vb)
Public Interface IBaseTargetTrackingProps
Remarks
Contains the attributes that are common to target tracking policies, except the ones relating to the metric and to the scalable target.
This interface is reused by more specific target tracking props objects.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.AutoScaling;
var baseTargetTrackingProps = new BaseTargetTrackingProps {
Cooldown = Duration.Minutes(30),
DisableScaleIn = false,
EstimatedInstanceWarmup = Duration.Minutes(30)
};
Synopsis
Properties
Cooldown | Period after a scaling completes before another scaling activity can start. |
DisableScaleIn | Indicates whether scale in by the target tracking policy is disabled. |
EstimatedInstanceWarmup | Estimated time until a newly launched instance can send metrics to CloudWatch. |
Properties
Cooldown
Period after a scaling completes before another scaling activity can start.
Duration? Cooldown { get; }
Property Value
Remarks
Default: - The default cooldown configured on the AutoScalingGroup.
DisableScaleIn
Indicates whether scale in by the target tracking policy is disabled.
bool? DisableScaleIn { get; }
Property Value
bool?
Remarks
If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the autoscaling group. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the group.
Default: false
EstimatedInstanceWarmup
Estimated time until a newly launched instance can send metrics to CloudWatch.
Duration? EstimatedInstanceWarmup { get; }
Property Value
Remarks
Default: - Same as the cooldown.