Class ContainerOverrides.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.ContainerOverrides.Jsii$Proxy
All Implemented Interfaces:
ContainerOverrides, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ContainerOverrides

@Stability(Stable) @Internal public static final class ContainerOverrides.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ContainerOverrides
An implementation for ContainerOverrides
  • 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.stepfunctions.tasks.ContainerOverrides

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ContainerOverrides.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 List<String>
    The command to send to the container that overrides the default command from the Docker image or the job definition.
    The environment variables to send to the container.
    final Number
    The number of physical GPUs to reserve for the container.
    The instance type to use for a multi-node parallel job.
    final Number
    The number of MiB of memory reserved for the job.
    final Number
    The number of vCPUs to reserve for the container.
    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(ContainerOverrides.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ContainerOverrides.Builder.
  • Method Details

    • getCommand

      public final List<String> getCommand()
      Description copied from interface: ContainerOverrides
      The command to send to the container that overrides the default command from the Docker image or the job definition.

      Default: - No command overrides

      Specified by:
      getCommand in interface ContainerOverrides
    • getEnvironment

      public final Map<String,String> getEnvironment()
      Description copied from interface: ContainerOverrides
      The environment variables to send to the container.

      You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the job definition.

      Default: - No environment overrides

      Specified by:
      getEnvironment in interface ContainerOverrides
    • getGpuCount

      public final Number getGpuCount()
      Description copied from interface: ContainerOverrides
      The number of physical GPUs to reserve for the container.

      The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.

      Default: - No GPU reservation

      Specified by:
      getGpuCount in interface ContainerOverrides
    • getInstanceType

      public final InstanceType getInstanceType()
      Description copied from interface: ContainerOverrides
      The instance type to use for a multi-node parallel job.

      This parameter is not valid for single-node container jobs.

      Default: - No instance type overrides

      Specified by:
      getInstanceType in interface ContainerOverrides
    • getMemory

      public final Number getMemory()
      Description copied from interface: ContainerOverrides
      The number of MiB of memory reserved for the job.

      This value overrides the value set in the job definition.

      Default: - No memory overrides

      Specified by:
      getMemory in interface ContainerOverrides
    • getVcpus

      public final Number getVcpus()
      Description copied from interface: ContainerOverrides
      The number of vCPUs to reserve for the container.

      This value overrides the value set in the job definition.

      Default: - No vCPUs overrides

      Specified by:
      getVcpus in interface ContainerOverrides
    • $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