Class CfnJobDefinition.TimeoutProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.CfnJobDefinition.TimeoutProperty.Jsii$Proxy
All Implemented Interfaces:
CfnJobDefinition.TimeoutProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnJobDefinition.TimeoutProperty

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

    • getAttemptDurationSeconds

      public final Number getAttemptDurationSeconds()
      Description copied from interface: CfnJobDefinition.TimeoutProperty
      The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.

      After this time passes, AWS Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.

      For array jobs, the timeout applies to the child jobs, not to the parent array job.

      For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.

      Specified by:
      getAttemptDurationSeconds in interface CfnJobDefinition.TimeoutProperty
    • $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