# BaseTargetTrackingProps

Base interface for target tracking props.

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.

- Source: [`aws-autoscaling/lib/target-tracking-scaling-policy.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-autoscaling/lib/target-tracking-scaling-policy.ts#L17)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_autoscaling as autoscaling } from 'aws-cdk-lib';
const baseTargetTrackingProps: autoscaling.BaseTargetTrackingProps = {
  cooldown: cdk.Duration.minutes(30),
  disableScaleIn: false,
  estimatedInstanceWarmup: cdk.Duration.minutes(30),
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk
from aws_cdk import aws_autoscaling as autoscaling

base_target_tracking_props = autoscaling.BaseTargetTrackingProps(
    cooldown=cdk.Duration.minutes(30),
    disable_scale_in=False,
    estimated_instance_warmup=cdk.Duration.minutes(30)
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.autoscaling.*;

BaseTargetTrackingProps baseTargetTrackingProps = BaseTargetTrackingProps.builder()
        .cooldown(Duration.minutes(30))
        .disableScaleIn(false)
        .estimatedInstanceWarmup(Duration.minutes(30))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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)
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"

baseTargetTrackingProps := &BaseTargetTrackingProps{
	Cooldown: cdk.Duration_Minutes(jsii.Number(30)),
	DisableScaleIn: jsii.Boolean(false),
	EstimatedInstanceWarmup: cdk.Duration_*Minutes(jsii.Number(30)),
}
```

## Properties

- `cooldown`: [Duration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Duration.html) — Period after a scaling completes before another scaling activity can start.

  **Default:** The default cooldown configured on the AutoScalingGroup.

- `disableScaleIn`: boolean = false — Indicates whether scale in by the target tracking policy is disabled.

  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.

- `estimatedInstanceWarmup`: [Duration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Duration.html) — Estimated time until a newly launched instance can send metrics to CloudWatch.

  **Default:** Same as the cooldown.
