JobDefinitionArgs constructor
- Input<
String?> ? containerProperties, - Input<
bool?> ? deregisterOnNewRevision, - Input<
String?> ? ecsProperties, - Input<
JobDefinitionEksProperties?> ? eksProperties, - Input<
String?> ? name, - Input<
String?> ? nodeProperties, - Input<
Map< ? parameters,String, String> ?> - Input<
List< ? platformCapabilities,String> ?> - Input<
bool?> ? propagateTags, - Input<
String?> ? region, - Input<
JobDefinitionRetryStrategy?> ? retryStrategy, - Input<
int?> ? schedulingPriority, - Input<
Map< ? tags,String, String> ?> - 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.
Implementation
const JobDefinitionArgs({
this.containerProperties,
this.deregisterOnNewRevision,
this.ecsProperties,
this.eksProperties,
this.name,
this.nodeProperties,
this.parameters,
this.platformCapabilities,
this.propagateTags,
this.region,
this.retryStrategy,
this.schedulingPriority,
this.tags,
this.timeout,
required this.type,
});