Class TargetTrackingScalingPolicyProps.Jsii$Proxy
- All Implemented Interfaces:
BaseTargetTrackingProps
,BasicTargetTrackingScalingPolicyProps
,TargetTrackingScalingPolicyProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
TargetTrackingScalingPolicyProps
TargetTrackingScalingPolicyProps
-
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.TargetTrackingScalingPolicyProps
TargetTrackingScalingPolicyProps.Builder, TargetTrackingScalingPolicyProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theTargetTrackingScalingPolicyProps.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 IAutoScalingGroup
final Duration
Period after a scaling completes before another scaling activity can start.final IMetric
A custom metric for application autoscaling.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 PredefinedMetric
A predefined metric for application autoscaling.final String
The resource label associated with the predefined metric.final Number
The target value for the metric.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 theTargetTrackingScalingPolicyProps.Builder
.
-
-
Method Details
-
getAutoScalingGroup
- Specified by:
getAutoScalingGroup
in interfaceTargetTrackingScalingPolicyProps
-
getTargetValue
Description copied from interface:BasicTargetTrackingScalingPolicyProps
The target value for the metric.- Specified by:
getTargetValue
in interfaceBasicTargetTrackingScalingPolicyProps
-
getCustomMetric
Description copied from interface:BasicTargetTrackingScalingPolicyProps
A custom metric for application autoscaling.The metric must track utilization. Scaling out will happen if the metric is higher than the target value, scaling in will happen in the metric is lower than the target value.
Exactly one of customMetric or predefinedMetric must be specified.
Default: - No custom metric.
- Specified by:
getCustomMetric
in interfaceBasicTargetTrackingScalingPolicyProps
-
getPredefinedMetric
Description copied from interface:BasicTargetTrackingScalingPolicyProps
A predefined metric for application autoscaling.The metric must track utilization. Scaling out will happen if the metric is higher than the target value, scaling in will happen in the metric is lower than the target value.
Exactly one of customMetric or predefinedMetric must be specified.
Default: - No predefined metric.
- Specified by:
getPredefinedMetric
in interfaceBasicTargetTrackingScalingPolicyProps
-
getResourceLabel
Description copied from interface:BasicTargetTrackingScalingPolicyProps
The resource label associated with the predefined metric.Should be supplied if the predefined metric is ALBRequestCountPerTarget, and the format should be:
app/invalid input: '<'load-balancer-name>/invalid input: '<'load-balancer-id>/targetgroup/invalid input: '<'target-group-name>/invalid input: '<'target-group-id>
Default: - No resource label.
- Specified by:
getResourceLabel
in interfaceBasicTargetTrackingScalingPolicyProps
-
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()
-