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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.opsworks.CfnLayer.AutoScalingThresholdsProperty
CfnLayer.AutoScalingThresholdsProperty.Builder, CfnLayer.AutoScalingThresholdsProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnLayer.AutoScalingThresholdsProperty.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 Number
The CPU utilization threshold, as a percent of the available CPU.final Number
The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.final Number
The number of instances to add or remove when the load exceeds a threshold.final Number
The load threshold.final Number
The memory utilization threshold, as a percent of the available memory.final Number
The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.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 theCfnLayer.AutoScalingThresholdsProperty.Builder
.
-
-
Method Details
-
getCpuThreshold
Description copied from interface:CfnLayer.AutoScalingThresholdsProperty
The CPU utilization threshold, as a percent of the available CPU.A value of -1 disables the threshold.
- Specified by:
getCpuThreshold
in interfaceCfnLayer.AutoScalingThresholdsProperty
- See Also:
-
getIgnoreMetricsTime
Description copied from interface:CfnLayer.AutoScalingThresholdsProperty
The 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.
IgnoreMetricsTime
allows you to direct AWS OpsWorks Stacks to suppress scaling events long enough to get the new instances online.- Specified by:
getIgnoreMetricsTime
in interfaceCfnLayer.AutoScalingThresholdsProperty
- See Also:
-
getInstanceCount
Description copied from interface:CfnLayer.AutoScalingThresholdsProperty
The number of instances to add or remove when the load exceeds a threshold.- Specified by:
getInstanceCount
in interfaceCfnLayer.AutoScalingThresholdsProperty
- See Also:
-
getLoadThreshold
Description copied from interface:CfnLayer.AutoScalingThresholdsProperty
The load threshold.A value of -1 disables the threshold. For more information about how load is computed, see Load (computing) .
- Specified by:
getLoadThreshold
in interfaceCfnLayer.AutoScalingThresholdsProperty
- See Also:
-
getMemoryThreshold
Description copied from interface:CfnLayer.AutoScalingThresholdsProperty
The memory utilization threshold, as a percent of the available memory.A value of -1 disables the threshold.
- Specified by:
getMemoryThreshold
in interfaceCfnLayer.AutoScalingThresholdsProperty
- See Also:
-
getThresholdsWaitTime
Description copied from interface:CfnLayer.AutoScalingThresholdsProperty
The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.- Specified by:
getThresholdsWaitTime
in interfaceCfnLayer.AutoScalingThresholdsProperty
- See Also:
-
$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()
-