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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.TargetTrackingScalingPolicyProps
TargetTrackingScalingPolicyProps.Builder, TargetTrackingScalingPolicyProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theTargetTrackingScalingPolicyProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal IAutoScalingGroupfinal DurationPeriod after a scaling completes before another scaling activity can start.final IMetricA custom metric for application autoscaling.final BooleanIndicates whether scale in by the target tracking policy is disabled.final DurationEstimated time until a newly launched instance can send metrics to CloudWatch.final PredefinedMetricA predefined metric for application autoscaling.final StringThe resource label associated with the predefined metric.final NumberThe target value for the metric.final inthashCode()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:
getAutoScalingGroupin interfaceTargetTrackingScalingPolicyProps
-
getTargetValue
Description copied from interface:BasicTargetTrackingScalingPolicyPropsThe target value for the metric.- Specified by:
getTargetValuein interfaceBasicTargetTrackingScalingPolicyProps
-
getCustomMetric
Description copied from interface:BasicTargetTrackingScalingPolicyPropsA 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:
getCustomMetricin interfaceBasicTargetTrackingScalingPolicyProps
-
getPredefinedMetric
Description copied from interface:BasicTargetTrackingScalingPolicyPropsA 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:
getPredefinedMetricin interfaceBasicTargetTrackingScalingPolicyProps
-
getResourceLabel
Description copied from interface:BasicTargetTrackingScalingPolicyPropsThe resource label associated with the predefined metric.Should be supplied if the predefined metric is ALBRequestCountPerTarget, and the format should be:
app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>
Default: - No resource label.
- Specified by:
getResourceLabelin interfaceBasicTargetTrackingScalingPolicyProps
-
getCooldown
Description copied from interface:BaseTargetTrackingPropsPeriod after a scaling completes before another scaling activity can start.Default: - The default cooldown configured on the AutoScalingGroup.
- Specified by:
getCooldownin interfaceBaseTargetTrackingProps
-
getDisableScaleIn
Description copied from interface:BaseTargetTrackingPropsIndicates 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:
getDisableScaleInin interfaceBaseTargetTrackingProps
-
getEstimatedInstanceWarmup
Description copied from interface:BaseTargetTrackingPropsEstimated time until a newly launched instance can send metrics to CloudWatch.Default: - Same as the cooldown.
- Specified by:
getEstimatedInstanceWarmupin interfaceBaseTargetTrackingProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-