@Stability(value=Stable) @Internal public static final class CfnLayer.AutoScalingThresholdsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLayer.AutoScalingThresholdsProperty
CfnLayer.AutoScalingThresholdsPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnLayer.AutoScalingThresholdsProperty.Builder, CfnLayer.AutoScalingThresholdsProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLayer.AutoScalingThresholdsProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLayer.AutoScalingThresholdsProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getCpuThreshold()
The CPU utilization threshold, as a percent of the available CPU.
|
Number |
getIgnoreMetricsTime()
The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.
|
Number |
getInstanceCount()
The number of instances to add or remove when the load exceeds a threshold.
|
Number |
getLoadThreshold()
The load threshold.
|
Number |
getMemoryThreshold()
The memory utilization threshold, as a percent of the available memory.
|
Number |
getThresholdsWaitTime()
The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnLayer.AutoScalingThresholdsProperty.Builder builder)
CfnLayer.AutoScalingThresholdsProperty.Builder.public final Number getCpuThreshold()
CfnLayer.AutoScalingThresholdsPropertyA value of -1 disables the threshold.
getCpuThreshold in interface CfnLayer.AutoScalingThresholdsPropertypublic final Number getIgnoreMetricsTime()
CfnLayer.AutoScalingThresholdsProperty
For example, AWS OpsWorks Stacks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. IgnoreMetricsTime allows you to direct AWS OpsWorks Stacks to suppress scaling events long enough to get the new instances online.
getIgnoreMetricsTime in interface CfnLayer.AutoScalingThresholdsPropertypublic final Number getInstanceCount()
CfnLayer.AutoScalingThresholdsPropertygetInstanceCount in interface CfnLayer.AutoScalingThresholdsPropertypublic final Number getLoadThreshold()
CfnLayer.AutoScalingThresholdsPropertyA value of -1 disables the threshold. For more information about how load is computed, see Load (computing) .
getLoadThreshold in interface CfnLayer.AutoScalingThresholdsPropertypublic final Number getMemoryThreshold()
CfnLayer.AutoScalingThresholdsPropertyA value of -1 disables the threshold.
getMemoryThreshold in interface CfnLayer.AutoScalingThresholdsPropertypublic final Number getThresholdsWaitTime()
CfnLayer.AutoScalingThresholdsPropertygetThresholdsWaitTime in interface CfnLayer.AutoScalingThresholdsProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.