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