Class MetricTargetTrackingProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.MetricTargetTrackingProps.Jsii$Proxy
- All Implemented Interfaces:
BaseTargetTrackingProps
,MetricTargetTrackingProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
MetricTargetTrackingProps
@Stability(Stable)
@Internal
public static final class MetricTargetTrackingProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements MetricTargetTrackingProps
An implementation for
MetricTargetTrackingProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.MetricTargetTrackingProps
MetricTargetTrackingProps.Builder, MetricTargetTrackingProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theMetricTargetTrackingProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Duration
Period after a scaling completes before another scaling activity can start.final Boolean
Indicates whether scale in by the target tracking policy is disabled.final Duration
Estimated time until a newly launched instance can send metrics to CloudWatch.final IMetric
Metric to track.final Number
Value to keep the metric around.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theMetricTargetTrackingProps.Builder
.
-
-
Method Details
-
getMetric
Description copied from interface:MetricTargetTrackingProps
Metric to track.The metric must represent a utilization, so that if it's higher than the target value, your ASG should scale out, and if it's lower it should scale in.
- Specified by:
getMetric
in interfaceMetricTargetTrackingProps
-
getTargetValue
Description copied from interface:MetricTargetTrackingProps
Value to keep the metric around.- Specified by:
getTargetValue
in interfaceMetricTargetTrackingProps
-
getCooldown
Description copied from interface:BaseTargetTrackingProps
Period after a scaling completes before another scaling activity can start.Default: - The default cooldown configured on the AutoScalingGroup.
- Specified by:
getCooldown
in interfaceBaseTargetTrackingProps
-
getDisableScaleIn
Description copied from interface:BaseTargetTrackingProps
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.
Default: false
- Specified by:
getDisableScaleIn
in interfaceBaseTargetTrackingProps
-
getEstimatedInstanceWarmup
Description copied from interface:BaseTargetTrackingProps
Estimated time until a newly launched instance can send metrics to CloudWatch.Default: - Same as the cooldown.
- Specified by:
getEstimatedInstanceWarmup
in interfaceBaseTargetTrackingProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-