Interface TargetTrackingScalingPolicyProps
- All Superinterfaces:
BaseTargetTrackingProps
,BasicTargetTrackingScalingPolicyProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TargetTrackingScalingPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:10.692Z")
@Stability(Stable)
public interface TargetTrackingScalingPolicyProps
extends software.amazon.jsii.JsiiSerializable, BasicTargetTrackingScalingPolicyProps
Properties for a concrete TargetTrackingPolicy.
Adds the scalingTarget.
Example:
// 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.*; import software.amazon.awscdk.services.cloudwatch.*; AutoScalingGroup autoScalingGroup; Metric metric; TargetTrackingScalingPolicyProps targetTrackingScalingPolicyProps = TargetTrackingScalingPolicyProps.builder() .autoScalingGroup(autoScalingGroup) .targetValue(123) // the properties below are optional .cooldown(Duration.minutes(30)) .customMetric(metric) .disableScaleIn(false) .estimatedInstanceWarmup(Duration.minutes(30)) .predefinedMetric(PredefinedMetric.ASG_AVERAGE_CPU_UTILIZATION) .resourceLabel("resourceLabel") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTargetTrackingScalingPolicyProps
static final class
An implementation forTargetTrackingScalingPolicyProps
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.autoscaling.BaseTargetTrackingProps
getCooldown, getDisableScaleIn, getEstimatedInstanceWarmup
Methods inherited from interface software.amazon.awscdk.services.autoscaling.BasicTargetTrackingScalingPolicyProps
getCustomMetric, getPredefinedMetric, getResourceLabel, getTargetValue
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoScalingGroup
-
builder
-