@Stability(value=Stable) @Internal public static final class LinuxParametersProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LinuxParametersProps
LinuxParametersPropssoftware.amazon.jsii.JsiiObject.InitializationModeLinuxParametersProps.Builder, LinuxParametersProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(LinuxParametersProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
LinuxParametersProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getInitProcessEnabled()
Specifies whether to run an init process inside the container that forwards signals and reaps processes.
|
Size |
getMaxSwap()
The total amount of swap memory a container can use.
|
Number |
getSharedMemorySize()
The value for the size of the /dev/shm volume.
|
Number |
getSwappiness()
This allows you to tune a container's memory swappiness behavior.
|
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(LinuxParametersProps.Builder builder)
LinuxParametersProps.Builder.public final Boolean getInitProcessEnabled()
LinuxParametersPropsDefault: false
getInitProcessEnabled in interface LinuxParametersPropspublic final Size getMaxSwap()
LinuxParametersPropsThis parameter will be translated to the --memory-swap option to docker run.
This parameter is only supported when you are using the EC2 launch type. Accepted values are positive integers.
Default: No swap.
getMaxSwap in interface LinuxParametersPropspublic final Number getSharedMemorySize()
LinuxParametersPropsDefault: No shared memory.
getSharedMemorySize in interface LinuxParametersPropspublic final Number getSwappiness()
LinuxParametersPropsThis parameter maps to the --memory-swappiness option to docker run. The swappiness relates to the kernel's tendency to swap memory. A value of 0 will cause swapping to not happen unless absolutely necessary. A value of 100 will cause pages to be swapped very aggressively.
This parameter is only supported when you are using the EC2 launch type. Accepted values are whole numbers between 0 and 100. If a value is not specified for maxSwap then this parameter is ignored.
Default: 60
getSwappiness in interface LinuxParametersProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.