Class CfnJobDefinitionProps.Jsii$Proxy

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

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

    • getType

      public final String getType()
      Description copied from interface: CfnJobDefinitionProps
      The type of job definition.

      For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition in the AWS Batch User Guide .

      If the job is run on Fargate resources, then multinode isn't supported.

      Specified by:
      getType in interface CfnJobDefinitionProps
    • getContainerProperties

      public final Object getContainerProperties()
      Description copied from interface: CfnJobDefinitionProps
      An object with various properties specific to Amazon ECS based jobs.

      Valid values are containerProperties , eksProperties , and nodeProperties . Only one can be specified.

      Specified by:
      getContainerProperties in interface CfnJobDefinitionProps
    • getEksProperties

      public final Object getEksProperties()
      Description copied from interface: CfnJobDefinitionProps
      An object with various properties that are specific to Amazon EKS based jobs.

      Valid values are containerProperties , eksProperties , and nodeProperties . Only one can be specified.

      Specified by:
      getEksProperties in interface CfnJobDefinitionProps
    • getJobDefinitionName

      public final String getJobDefinitionName()
      Description copied from interface: CfnJobDefinitionProps
      The name of the job definition.
      Specified by:
      getJobDefinitionName in interface CfnJobDefinitionProps
    • getNodeProperties

      public final Object getNodeProperties()
      Description copied from interface: CfnJobDefinitionProps
      An object with various properties that are specific to multi-node parallel jobs.

      Valid values are containerProperties , eksProperties , and nodeProperties . Only one can be specified.

      If the job runs on Fargate resources, don't specify nodeProperties . Use containerProperties instead.

      Specified by:
      getNodeProperties in interface CfnJobDefinitionProps
    • getParameters

      public final Object getParameters()
      Description copied from interface: CfnJobDefinitionProps
      Default parameters or parameter substitution placeholders that are set in the job definition.

      Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see Job definition parameters in the AWS Batch User Guide .

      Specified by:
      getParameters in interface CfnJobDefinitionProps
    • getPlatformCapabilities

      public final List<String> getPlatformCapabilities()
      Description copied from interface: CfnJobDefinitionProps
      The platform capabilities required by the job definition.

      If no value is specified, it defaults to EC2 . Jobs run on Fargate resources specify FARGATE .

      Specified by:
      getPlatformCapabilities in interface CfnJobDefinitionProps
    • getPropagateTags

      public final Object getPropagateTags()
      Description copied from interface: CfnJobDefinitionProps
      Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task.

      If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the FAILED state.

      Specified by:
      getPropagateTags in interface CfnJobDefinitionProps
    • getRetryStrategy

      public final Object getRetryStrategy()
      Description copied from interface: CfnJobDefinitionProps
      The retry strategy to use for failed jobs that are submitted with this job definition.
      Specified by:
      getRetryStrategy in interface CfnJobDefinitionProps
    • getSchedulingPriority

      public final Number getSchedulingPriority()
      Description copied from interface: CfnJobDefinitionProps
      The scheduling priority of the job definition.

      This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.

      Specified by:
      getSchedulingPriority in interface CfnJobDefinitionProps
    • getTags

      public final Object getTags()
      Description copied from interface: CfnJobDefinitionProps
      The tags that are applied to the job definition.
      Specified by:
      getTags in interface CfnJobDefinitionProps
    • getTimeout

      public final Object getTimeout()
      Description copied from interface: CfnJobDefinitionProps
      The timeout time for jobs that are submitted with this job definition.

      After the amount of time you specify passes, AWS Batch terminates your jobs if they aren't finished.

      Specified by:
      getTimeout in interface CfnJobDefinitionProps
    • $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