Class ContainerOverride.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class ContainerOverride.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ContainerOverride
An implementation for ContainerOverride
  • 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(ContainerOverride.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ContainerOverride.Builder.
  • Method Details

    • getContainerDefinition

      public final ContainerDefinition getContainerDefinition()
      Description copied from interface: ContainerOverride
      Name of the container inside the task definition.
      Specified by:
      getContainerDefinition in interface ContainerOverride
    • getCommand

      public final List<String> getCommand()
      Description copied from interface: ContainerOverride
      Command to run inside the container.

      Default: - Default command from the Docker image or the task definition

      Specified by:
      getCommand in interface ContainerOverride
    • getCpu

      public final Number getCpu()
      Description copied from interface: ContainerOverride
      The number of cpu units reserved for the container.

      Default: - The default value from the task definition.

      Specified by:
      getCpu in interface ContainerOverride
    • getEnvironment

      public final List<TaskEnvironmentVariable> getEnvironment()
      Description copied from interface: ContainerOverride
      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 task definition.

      Default: - The existing environment variables from the Docker image or the task definition

      Specified by:
      getEnvironment in interface ContainerOverride
    • getMemoryLimit

      public final Number getMemoryLimit()
      Description copied from interface: ContainerOverride
      The hard limit (in MiB) of memory to present to the container.

      Default: - The default value from the task definition.

      Specified by:
      getMemoryLimit in interface ContainerOverride
    • getMemoryReservation

      public final Number getMemoryReservation()
      Description copied from interface: ContainerOverride
      The soft limit (in MiB) of memory to reserve for the container.

      Default: - The default value from the task definition.

      Specified by:
      getMemoryReservation in interface ContainerOverride
    • $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