AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
An object that represents an Batch job definition.
Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z
public class JobDefinition
The JobDefinition type exposes the following members
Name | Description | |
---|---|---|
JobDefinition() |
Name | Type | Description | |
---|---|---|---|
ContainerOrchestrationType | Amazon.Batch.OrchestrationType |
Gets and sets the property ContainerOrchestrationType.
The orchestration type of the compute environment. The valid values are |
|
ContainerProperties | Amazon.Batch.Model.ContainerProperties |
Gets and sets the property ContainerProperties.
An object with properties specific to Amazon ECS-based jobs. When |
|
EcsProperties | Amazon.Batch.Model.EcsProperties |
Gets and sets the property EcsProperties.
An object that contains the properties for the Amazon ECS resources of a job.When
|
|
EksProperties | Amazon.Batch.Model.EksProperties |
Gets and sets the property EksProperties.
An object with properties that are specific to Amazon EKS-based jobs. When |
|
JobDefinitionArn | System.String |
Gets and sets the property JobDefinitionArn. The Amazon Resource Name (ARN) for the job definition. |
|
JobDefinitionName | System.String |
Gets and sets the property JobDefinitionName. The name of the job definition. |
|
NodeProperties | Amazon.Batch.Model.NodeProperties |
Gets and sets the property NodeProperties.
An object with properties that are specific to multi-node parallel jobs. When
If the job runs on Fargate resources, don't specify |
|
Parameters | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property 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
|
|
PlatformCapabilities | System.Collections.Generic.List<System.String> |
Gets and sets the property PlatformCapabilities.
The platform capabilities required by the job definition. If no value is specified,
it defaults to |
|
PropagateTags | System.Boolean |
Gets and sets the property PropagateTags.
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 |
|
RetryStrategy | Amazon.Batch.Model.RetryStrategy |
Gets and sets the property RetryStrategy. The retry strategy to use for failed jobs that are submitted with this job definition. |
|
Revision | System.Int32 |
Gets and sets the property Revision. The revision of the job definition. |
|
SchedulingPriority | System.Int32 |
Gets and sets the property SchedulingPriority. 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. |
|
Status | System.String |
Gets and sets the property Status. The status of the job definition. |
|
Tags | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Tags. The tags that are applied to the job definition. |
|
Timeout | Amazon.Batch.Model.JobTimeout |
Gets and sets the property Timeout. The timeout time for jobs that are submitted with this job definition. After the amount of time you specify passes, Batch terminates your jobs if they aren't finished. |
|
Type | System.String |
Gets and sets the property Type.
The type of job definition. It's either |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5