@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:58.405Z")
public interface BaseTargetTrackingProps
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.autoscaling.*; import software.amazon.awscdk.core.*; BaseTargetTrackingProps baseTargetTrackingProps = BaseTargetTrackingProps.builder() .cooldown(Duration.minutes(30)) .disableScaleIn(false) .estimatedInstanceWarmup(Duration.minutes(30)) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
BaseTargetTrackingProps.Builder
A builder for
BaseTargetTrackingProps |
static class |
BaseTargetTrackingProps.Jsii$Proxy
An implementation for
BaseTargetTrackingProps |
Modifier and Type | Method and Description |
---|---|
static BaseTargetTrackingProps.Builder |
builder() |
default Duration |
getCooldown()
Period after a scaling completes before another scaling activity can start.
|
default java.lang.Boolean |
getDisableScaleIn()
Indicates whether scale in by the target tracking policy is disabled.
|
default Duration |
getEstimatedInstanceWarmup()
Estimated time until a newly launched instance can send metrics to CloudWatch.
|
default Duration getCooldown()
Default: - The default cooldown configured on the AutoScalingGroup.
default java.lang.Boolean getDisableScaleIn()
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
default Duration getEstimatedInstanceWarmup()
Default: - Same as the cooldown.
static BaseTargetTrackingProps.Builder builder()
BaseTargetTrackingProps.Builder
of BaseTargetTrackingProps