Interface CfnJobDefinitionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinitionProps.Jsii$Proxy
CfnJobDefinition
.
Example:
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnJobDefinitionProps
static final class
An implementation forCfnJobDefinitionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
An object with properties specific to Amazon ECS-based jobs.default Object
An object that contains the properties for the Amazon ECS resources of a job.WhenecsProperties
is used in the job definition, it can't be used in addition tocontainerProperties
,eksProperties
, ornodeProperties
.default Object
An object with properties that are specific to Amazon EKS-based jobs.default String
The name of the job definition.default Object
An object with properties that are specific to multi-node parallel jobs.default Object
Default parameters or parameter substitution placeholders that are set in the job definition.The platform capabilities required by the job definition.default Object
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task.default Object
The retry strategy to use for failed jobs that are submitted with this job definition.default Number
The scheduling priority of the job definition.default Object
getTags()
The tags that are applied to the job definition.default Object
The timeout time for jobs that are submitted with this job definition.getType()
The type of job definition.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type of job definition.For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition in the AWS Batch User Guide .
- If the value is
container
, then one of the following is required:containerProperties
,ecsProperties
, oreksProperties
. - If the value is
multinode
, thennodeProperties
is required.
If the job is run on Fargate resources, then
multinode
isn't supported.- See Also:
- If the value is
-
getContainerProperties
An object with properties specific to Amazon ECS-based jobs.When
containerProperties
is used in the job definition, it can't be used in addition toeksProperties
,ecsProperties
, ornodeProperties
.- See Also:
-
getEcsProperties
An object that contains the properties for the Amazon ECS resources of a job.WhenecsProperties
is used in the job definition, it can't be used in addition tocontainerProperties
,eksProperties
, ornodeProperties
.- See Also:
-
getEksProperties
An object with properties that are specific to Amazon EKS-based jobs.When
eksProperties
is used in the job definition, it can't be used in addition tocontainerProperties
,ecsProperties
, ornodeProperties
.- See Also:
-
getJobDefinitionName
The name of the job definition.- See Also:
-
getNodeProperties
An object with properties that are specific to multi-node parallel jobs.When
nodeProperties
is used in the job definition, it can't be used in addition tocontainerProperties
,ecsProperties
, oreksProperties
.If the job runs on Fargate resources, don't specify
nodeProperties
. UsecontainerProperties
instead.- See Also:
-
getParameters
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 in the AWS Batch User Guide .- See Also:
-
getPlatformCapabilities
The platform capabilities required by the job definition.If no value is specified, it defaults to
EC2
. Jobs run on Fargate resources specifyFARGATE
.- See Also:
-
getPropagateTags
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
FAILED
state.- See Also:
-
getRetryStrategy
The retry strategy to use for failed jobs that are submitted with this job definition.- See Also:
-
getSchedulingPriority
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.
- See Also:
-
getTags
The tags that are applied to the job definition.- See Also:
-
getTimeout
The timeout time for jobs that are submitted with this job definition.After the amount of time you specify passes, AWS Batch terminates your jobs if they aren't finished.
- See Also:
-
builder
- Returns:
- a
CfnJobDefinitionProps.Builder
ofCfnJobDefinitionProps
-