Interface CfnJobDefinitionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinitionProps.Jsii$Proxy
CfnJobDefinition.
Example:
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobDefinitionPropsstatic final classAn implementation forCfnJobDefinitionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectContains a list of consumable resources required by the job.default ObjectAn object with properties specific to Amazon ECS-based jobs.default ObjectAn object that contains the properties for the Amazon ECS resources of a job.WhenecsPropertiesis used in the job definition, it can't be used in addition tocontainerProperties,eksProperties, ornodeProperties.default ObjectAn object with properties that are specific to Amazon EKS-based jobs.default StringThe name of the job definition.default ObjectAn object with properties that are specific to multi-node parallel jobs.default ObjectDefault parameters or parameter substitution placeholders that are set in the job definition.The platform capabilities required by the job definition.default ObjectSpecifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task.default ObjectSpecifies the resource retention policy settings for the job definition.default ObjectThe retry strategy to use for failed jobs that are submitted with this job definition.default NumberThe scheduling priority of the job definition.default ObjectgetTags()The tags that are applied to the job definition.default ObjectThe 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, thennodePropertiesis required.
If the job is run on Fargate resources, then
multinodeisn't supported.- See Also:
- If the value is
-
getConsumableResourceProperties
Contains a list of consumable resources required by the job.Returns union: either
IResolvableorCfnJobDefinition.ConsumableResourcePropertiesProperty- See Also:
-
getContainerProperties
An object with properties specific to Amazon ECS-based jobs.When
containerPropertiesis used in the job definition, it can't be used in addition toeksProperties,ecsProperties, ornodeProperties.Returns union: either
IResolvableorCfnJobDefinition.ContainerPropertiesProperty- See Also:
-
getEcsProperties
An object that contains the properties for the Amazon ECS resources of a job.WhenecsPropertiesis used in the job definition, it can't be used in addition tocontainerProperties,eksProperties, ornodeProperties.Returns union: either
IResolvableorCfnJobDefinition.EcsPropertiesProperty- See Also:
-
getEksProperties
An object with properties that are specific to Amazon EKS-based jobs.When
eksPropertiesis used in the job definition, it can't be used in addition tocontainerProperties,ecsProperties, ornodeProperties.Returns union: either
IResolvableorCfnJobDefinition.EksPropertiesProperty- 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
nodePropertiesis 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. UsecontainerPropertiesinstead.Returns union: either
IResolvableorCfnJobDefinition.NodePropertiesProperty- 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
SubmitJobrequest 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
FAILEDstate.Returns union: either
BooleanorIResolvable- See Also:
-
getResourceRetentionPolicy
Specifies the resource retention policy settings for the job definition.Returns union: either
IResolvableorCfnJobDefinition.ResourceRetentionPolicyProperty- See Also:
-
getRetryStrategy
The retry strategy to use for failed jobs that are submitted with this job definition.Returns union: either
IResolvableorCfnJobDefinition.RetryStrategyProperty- 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.
Returns union: either
IResolvableorCfnJobDefinition.TimeoutProperty- See Also:
-
builder
- Returns:
- a
CfnJobDefinitionProps.BuilderofCfnJobDefinitionProps
-