Class LinuxParametersProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.LinuxParametersProps.Jsii$Proxy
- All Implemented Interfaces:
LinuxParametersProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
LinuxParametersProps
@Stability(Stable)
@Internal
public static final class LinuxParametersProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements LinuxParametersProps
An implementation for
LinuxParametersProps
-
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.ecs.LinuxParametersProps
LinuxParametersProps.Builder, LinuxParametersProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(LinuxParametersProps.Builder builder) Constructor that initializes the object based on literal property values passed by theLinuxParametersProps.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 Boolean
Specifies whether to run an init process inside the container that forwards signals and reaps processes.final Size
The total amount of swap memory a container can use.final Number
The value for the size of the /dev/shm volume.final Number
This allows you to tune a container's memory swappiness behavior.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 theLinuxParametersProps.Builder
.
-
-
Method Details
-
getInitProcessEnabled
Description copied from interface:LinuxParametersProps
Specifies whether to run an init process inside the container that forwards signals and reaps processes.Default: false
- Specified by:
getInitProcessEnabled
in interfaceLinuxParametersProps
-
getMaxSwap
Description copied from interface:LinuxParametersProps
The total amount of swap memory a container can use.This 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.
- Specified by:
getMaxSwap
in interfaceLinuxParametersProps
-
getSwappiness
Description copied from interface:LinuxParametersProps
This allows you to tune a container's memory swappiness behavior.This 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
- Specified by:
getSwappiness
in interfaceLinuxParametersProps
-
$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()
-