Class CfnLayer.AutoScalingThresholdsProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.opsworks.CfnLayer.AutoScalingThresholdsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLayer.AutoScalingThresholdsProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnLayer.AutoScalingThresholdsProperty
@Stability(Stable)
@Internal
public static final class CfnLayer.AutoScalingThresholdsProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLayer.AutoScalingThresholdsProperty
An implementation for
CfnLayer.AutoScalingThresholdsProperty-
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.opsworks.CfnLayer.AutoScalingThresholdsProperty
CfnLayer.AutoScalingThresholdsProperty.Builder, CfnLayer.AutoScalingThresholdsProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLayer.AutoScalingThresholdsProperty.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 NumberThe CPU utilization threshold, as a percent of the available CPU.final NumberThe amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.final NumberThe number of instances to add or remove when the load exceeds a threshold.final NumberThe load threshold.final NumberThe memory utilization threshold, as a percent of the available memory.final NumberThe amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.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 theCfnLayer.AutoScalingThresholdsProperty.Builder.
-
-
Method Details
-
getCpuThreshold
Description copied from interface:CfnLayer.AutoScalingThresholdsPropertyThe CPU utilization threshold, as a percent of the available CPU.A value of -1 disables the threshold.
- Specified by:
getCpuThresholdin interfaceCfnLayer.AutoScalingThresholdsProperty
-
getIgnoreMetricsTime
Description copied from interface:CfnLayer.AutoScalingThresholdsPropertyThe amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.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.
IgnoreMetricsTimeallows you to direct AWS OpsWorks Stacks to suppress scaling events long enough to get the new instances online.- Specified by:
getIgnoreMetricsTimein interfaceCfnLayer.AutoScalingThresholdsProperty
-
getInstanceCount
Description copied from interface:CfnLayer.AutoScalingThresholdsPropertyThe number of instances to add or remove when the load exceeds a threshold.- Specified by:
getInstanceCountin interfaceCfnLayer.AutoScalingThresholdsProperty
-
getLoadThreshold
Description copied from interface:CfnLayer.AutoScalingThresholdsPropertyThe load threshold.A value of -1 disables the threshold. For more information about how load is computed, see Load (computing) .
- Specified by:
getLoadThresholdin interfaceCfnLayer.AutoScalingThresholdsProperty
-
getMemoryThreshold
Description copied from interface:CfnLayer.AutoScalingThresholdsPropertyThe memory utilization threshold, as a percent of the available memory.A value of -1 disables the threshold.
- Specified by:
getMemoryThresholdin interfaceCfnLayer.AutoScalingThresholdsProperty
-
getThresholdsWaitTime
Description copied from interface:CfnLayer.AutoScalingThresholdsPropertyThe amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.- Specified by:
getThresholdsWaitTimein interfaceCfnLayer.AutoScalingThresholdsProperty
-
$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()
-