Class CfnDeployment.SystemResourceLimitsProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.greengrassv2.CfnDeployment.SystemResourceLimitsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnDeployment.SystemResourceLimitsProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnDeployment.SystemResourceLimitsProperty
@Stability(Stable)
@Internal
public static final class CfnDeployment.SystemResourceLimitsProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnDeployment.SystemResourceLimitsProperty
An implementation for
CfnDeployment.SystemResourceLimitsProperty
-
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.greengrassv2.CfnDeployment.SystemResourceLimitsProperty
CfnDeployment.SystemResourceLimitsProperty.Builder, CfnDeployment.SystemResourceLimitsProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnDeployment.SystemResourceLimitsProperty.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
getCpus()
The maximum amount of CPU time that a component's processes can use on the core device.final Number
The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device.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 theCfnDeployment.SystemResourceLimitsProperty.Builder
.
-
-
Method Details
-
getCpus
Description copied from interface:CfnDeployment.SystemResourceLimitsProperty
The maximum amount of CPU time that a component's processes can use on the core device.A core device's total CPU time is equivalent to the device's number of CPU cores. For example, on a core device with 4 CPU cores, you can set this value to 2 to limit the component's processes to 50 percent usage of each CPU core. On a device with 1 CPU core, you can set this value to 0.25 to limit the component's processes to 25 percent usage of the CPU. If you set this value to a number greater than the number of CPU cores, the AWS IoT Greengrass Core software doesn't limit the component's CPU usage.
- Specified by:
getCpus
in interfaceCfnDeployment.SystemResourceLimitsProperty
-
getMemory
Description copied from interface:CfnDeployment.SystemResourceLimitsProperty
The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device.For more information, see Configure system resource limits for components .
- Specified by:
getMemory
in interfaceCfnDeployment.SystemResourceLimitsProperty
-
$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()
-