Interface TargetTrackingScalingPolicyProps
- All Superinterfaces:
BaseTargetTrackingProps
,BasicTargetTrackingScalingPolicyProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TargetTrackingScalingPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:37.396Z")
@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.services.applicationautoscaling.*; import software.amazon.awscdk.services.cloudwatch.*; import software.amazon.awscdk.core.*; Metric metric; ScalableTarget scalableTarget; TargetTrackingScalingPolicyProps targetTrackingScalingPolicyProps = TargetTrackingScalingPolicyProps.builder() .scalingTarget(scalableTarget) .targetValue(123) // the properties below are optional .customMetric(metric) .disableScaleIn(false) .policyName("policyName") .predefinedMetric(PredefinedMetric.APPSTREAM_AVERAGE_CAPACITY_UTILIZATION) .resourceLabel("resourceLabel") .scaleInCooldown(Duration.minutes(30)) .scaleOutCooldown(Duration.minutes(30)) .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.applicationautoscaling.BaseTargetTrackingProps
getDisableScaleIn, getPolicyName, getScaleInCooldown, getScaleOutCooldown
Methods inherited from interface software.amazon.awscdk.services.applicationautoscaling.BasicTargetTrackingScalingPolicyProps
getCustomMetric, getPredefinedMetric, getResourceLabel, getTargetValue
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getScalingTarget
-
builder
-