class Aws::Batch::Types::JobDefinition
An object representing an Batch
job definition.
@!attribute [rw] job_definition_name
The name of the job definition. @return [String]
@!attribute [rw] job_definition_arn
The Amazon Resource Name (ARN) for the job definition. @return [String]
@!attribute [rw] revision
The revision of the job definition. @return [Integer]
@!attribute [rw] status
The status of the job definition. @return [String]
@!attribute [rw] type
The type of job definition. If the job is run on Fargate resources, then `multinode` isn't supported. For more information about multi-node parallel jobs, see [Creating a multi-node parallel job definition][1] in the *Batch User Guide*. [1]: https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html @return [String]
@!attribute [rw] parameters
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][1] in the *Batch User Guide*. [1]: https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html @return [Hash<String,String>]
@!attribute [rw] retry_strategy
The retry strategy to use for failed jobs that are submitted with this job definition. @return [Types::RetryStrategy]
@!attribute [rw] container_properties
An object with various properties specific to container-based jobs. @return [Types::ContainerProperties]
@!attribute [rw] timeout
The timeout configuration for jobs that are submitted with this job definition. You can specify a timeout duration after which Batch terminates your jobs if they haven't finished. @return [Types::JobTimeout]
@!attribute [rw] node_properties
An object with various properties specific to multi-node parallel jobs. <note markdown="1"> If the job runs on Fargate resources, then you must not specify `nodeProperties`; use `containerProperties` instead. </note> @return [Types::NodeProperties]
@!attribute [rw] tags
The tags applied to the job definition. @return [Hash<String,String>]
@!attribute [rw] propagate_tags
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 during task creation. 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. @return [Boolean]
@!attribute [rw] platform_capabilities
The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2`. Jobs run on Fargate resources specify `FARGATE`. @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDefinition AWS API Documentation
Constants
- SENSITIVE