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< ? parameters, Input<String, String> ?>List< ? platformCapabilities, Input<String> ?>bool?> ? propagateTags, Input<String?> ? region, Input<JobDefinitionRetryStrategy?> ? retryStrategy, Input<int?> ? schedulingPriority, Input<Map< ? tags, Input<String, String> ?>JobDefinitionTimeout?> ? timeout, required Input<String> type}) -
Creates a new JobDefinitionArgs.
containerPropertiesValid container properties provided as a single valid JSON document. This parameter is only valid if thetypeparameter iscontainer.deregisterOnNewRevisionWhen updating a job definition a new revision is created. This parameter determines if the previous version isderegistered(INACTIVE) or leftACTIVE. Defaults totrue.ecsPropertiesValid ECS properties provided as a single valid JSON document. This parameter is only valid if thetypeparameter iscontainer.eksPropertiesValid eks properties. This parameter is only valid if thetypeparameter iscontainer.nameName of the job definition.nodePropertiesValid node properties provided as a single valid JSON document. This parameter is required if thetypeparameter ismultinode.parametersParameter substitution placeholders to set in the job definition.platformCapabilitiesPlatform capabilities required by the job definition. If no value is specified, it defaults toEC2. To run the job on Fargate resources, specifyFARGATE.propagateTagsWhether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default isfalse.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.retryStrategyRetry strategy to use for failed jobs that are submitted with this job definition. Maximum number ofretryStrategyis1. Defined below.schedulingPriorityScheduling 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 values0through9999.tagsKey-value map of resource tags. .If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.timeoutTimeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number oftimeoutis1. Defined below.typeType of job definition. Must becontainerormultinode.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
typeparameter iscontainer.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 leftACTIVE. Defaults totrue.final -
ecsProperties
→ Input<
String?> ? -
Valid ECS properties provided as a single valid JSON document. This parameter is only valid if the
typeparameter iscontainer.final -
eksProperties
→ Input<
JobDefinitionEksProperties?> ? -
Valid eks properties. This parameter is only valid if the
typeparameter iscontainer.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
typeparameter ismultinode.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, specifyFARGATE.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
retryStrategyis1. 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
0through9999.final -
Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration 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
timeoutis1. Defined below.final -
type
→ Input<
String> -
Type of job definition. Must be
containerormultinode.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