Class LinuxParametersProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.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.batch.LinuxParametersProps

    LinuxParametersProps.Builder, LinuxParametersProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the LinuxParametersProps.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 Type
    Method
    Description
    com.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 Size
    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
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(LinuxParametersProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the LinuxParametersProps.Builder.
  • Method Details

    • getInitProcessEnabled

      public final Boolean 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 interface LinuxParametersProps
    • getMaxSwap

      public final Size 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 interface LinuxParametersProps
    • getSharedMemorySize

      public final Size getSharedMemorySize()
      Description copied from interface: LinuxParametersProps
      The value for the size of the /dev/shm volume.

      Default: No shared memory.

      Specified by:
      getSharedMemorySize in interface LinuxParametersProps
    • getSwappiness

      public final Number 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 interface LinuxParametersProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object