GetJobDefinitionResult

data class GetJobDefinitionResult(val arn: String? = null, val arnPrefix: String, val containerOrchestrationType: String, val eksProperties: List<GetJobDefinitionEksProperty>, val id: String, val name: String? = null, val nodeProperties: List<GetJobDefinitionNodeProperty>, val retryStrategies: List<GetJobDefinitionRetryStrategy>, val revision: Int? = null, val schedulingPriority: Int, val status: String? = null, val tags: Map<String, String>, val timeouts: List<GetJobDefinitionTimeout>, val type: String)

A collection of values returned by getJobDefinition.

Constructors

Link copied to clipboard
constructor(arn: String? = null, arnPrefix: String, containerOrchestrationType: String, eksProperties: List<GetJobDefinitionEksProperty>, id: String, name: String? = null, nodeProperties: List<GetJobDefinitionNodeProperty>, retryStrategies: List<GetJobDefinitionRetryStrategy>, revision: Int? = null, schedulingPriority: Int, status: String? = null, tags: Map<String, String>, timeouts: List<GetJobDefinitionTimeout>, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String? = null
Link copied to clipboard
Link copied to clipboard

The orchestration type of the compute environment.

Link copied to clipboard

An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS based job definitions.

Link copied to clipboard
val id: String

The ARN

Link copied to clipboard
val name: String? = null

The name of the volume.

Link copied to clipboard

An object with various properties specific to multi-node parallel jobs. If you specify node properties for a job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the AWS Batch User Guide. If the job definition's type parameter is container, then you must specify either containerProperties or nodeProperties.

Link copied to clipboard

The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that's specified during a SubmitJob operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it isn't retried.

Link copied to clipboard
val revision: Int? = null
Link copied to clipboard

The scheduling priority for jobs that are submitted with this 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.

Link copied to clipboard
val status: String? = null
Link copied to clipboard
Link copied to clipboard

The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it isn't retried. The minimum value for the timeout is 60 seconds.

Link copied to clipboard

The type of resource to assign to a container. The supported resources include GPU, MEMORY, and VCPU.