JobDefinitionArgs class

The set of arguments for JobDefinition. The set of arguments for JobDefinition.

Constructors

JobDefinitionArgs({Input<String?>? containerProperties, Input<bool?>? deregisterOnNewRevision, Input<String?>? ecsProperties, Input<JobDefinitionEksProperties?>? eksProperties, Input<String?>? name, Input<String?>? nodeProperties, Input<Map<String, String>?>? parameters, Input<List<String>?>? platformCapabilities, Input<bool?>? propagateTags, Input<String?>? region, Input<JobDefinitionRetryStrategy?>? retryStrategy, Input<int?>? schedulingPriority, Input<Map<String, String>?>? tags, Input<JobDefinitionTimeout?>? timeout, required Input<String> type})
Creates a new JobDefinitionArgs. containerProperties Valid container properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container. deregisterOnNewRevision When updating a job definition a new revision is created. This parameter determines if the previous version is deregistered (INACTIVE) or left ACTIVE. Defaults to true. ecsProperties Valid ECS properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container. eksProperties Valid eks properties. This parameter is only valid if the type parameter is container. name Name of the job definition. nodeProperties Valid node properties provided as a single valid JSON document. This parameter is required if the type parameter is multinode. parameters Parameter substitution placeholders to set in the job definition. platformCapabilities Platform capabilities required by the job definition. If no value is specified, it defaults to EC2. To run the job on Fargate resources, specify FARGATE. propagateTags Whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is false. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. retryStrategy Retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of retryStrategy is 1. Defined below. schedulingPriority 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. Allowed values 0 through 9999. tags Key-value map of resource tags. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. timeout Timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of timeout is 1. Defined below. type Type of job definition. Must be container or multinode.
const
JobDefinitionArgs.fromMap(Map<String, dynamic> map)
factory

Properties

containerProperties → Input<String?>?
Valid container properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container.
final
deregisterOnNewRevision → Input<bool?>?
When updating a job definition a new revision is created. This parameter determines if the previous version is deregistered (INACTIVE) or left ACTIVE. Defaults to true.
final
ecsProperties → Input<String?>?
Valid ECS properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container.
final
eksProperties → Input<JobDefinitionEksProperties?>?
Valid eks properties. This parameter is only valid if the type parameter is container.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name of the job definition.
final
nodeProperties → Input<String?>?
Valid node properties provided as a single valid JSON document. This parameter is required if the type parameter is multinode.
final
parameters → Input<Map<String, String>?>?
Parameter substitution placeholders to set in the job definition.
final
platformCapabilities → Input<List<String>?>?
Platform capabilities required by the job definition. If no value is specified, it defaults to EC2. To run the job on Fargate resources, specify FARGATE.
final
propagateTags → Input<bool?>?
Whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is false.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
retryStrategy → Input<JobDefinitionRetryStrategy?>?
Retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of retryStrategy is 1. Defined below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schedulingPriority → Input<int?>?
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. Allowed values 0 through 9999.
final
tags → Input<Map<String, String>?>?
Key-value map of resource tags. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
timeout → Input<JobDefinitionTimeout?>?
Timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of timeout is 1. Defined below.
final
type → Input<String>
Type of job definition. Must be container or multinode.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited