Class CfnJobDefinition
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.batch.CfnJobDefinition
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:55:53.876Z")
@Stability(Stable)
public class CfnJobDefinition
extends CfnResource
implements IInspectable, ITaggable
The
AWS::Batch::JobDefinition
resource specifies the parameters for an AWS Batch job definition.
For more information, see Job Definitions in the ** .
Example:
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
The authorization configuration details for the Amazon EFS file system.static final class
A fluent builder forCfnJobDefinition
.static interface
Container properties are used for Amazon ECS based job definitions.static interface
An object that represents a container instance host device.static interface
An object that contains the properties for the Amazon ECS resources of a job.static interface
The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.static interface
This is used when you're using an Amazon Elastic File System file system for job storage.static interface
An environment variable.static interface
EKS container properties are used in job definitions for Amazon EKS based job definitions to describe the properties for a container node in the pod that's launched as part of a job.static interface
The volume mounts for a container for an Amazon EKS job.static interface
An object that contains the properties for the Kubernetes resources of a job.static interface
Specifies the configuration of a Kubernetessecret
volume.static interface
Specifies an Amazon EKS volume for a job definition.static interface
Example:static interface
The Environment property type specifies environment variables to use in a job definition.static interface
The amount of ephemeral storage to allocate for the task.static interface
Specifies an array of up to 5 conditions to be met, and an action to take (RETRY
orEXIT
) if all conditions are met.static interface
The platform configuration for jobs that are running on Fargate resources.static interface
Example:static interface
References a Kubernetes secret resource.static interface
Linux-specific modifications that are applied to the container, such as details for device mappings.static interface
Log configuration options to send to a custom log driver for the container.static interface
Metadata about the Kubernetes pod.static interface
Details for a Docker volume mount point that's used in a job's container properties.static interface
The network configuration for jobs that are running on Fargate resources.static interface
An object that represents the node properties of a multi-node parallel job.static interface
This is an object that represents the properties of the node range for a multi-node parallel job.static interface
The properties for the pod.static interface
The repository credentials for private registry authentication.static interface
The type and amount of a resource to assign to a container.static interface
Example:static interface
The retry strategy that's associated with a job.static interface
An object that represents the compute environment architecture for AWS Batch jobs on Fargate.static interface
An object that represents the secret to expose to your container.static interface
Example:static interface
A list of containers that this task depends on.static interface
Container properties are used for Amazon ECS-based job definitions.static interface
An object that represents a job timeout configuration.static interface
The container path, mount options, and size of thetmpfs
mount.static interface
Theulimit
settings to pass to the container.static interface
Determine whether your data volume persists on the host container instance and where it's stored.static interface
A list of volumes that are associated with the job.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnJobDefinition
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnJobDefinition
(software.amazon.jsii.JsiiObjectRef objRef) CfnJobDefinition
(software.constructs.Construct scope, String id, CfnJobDefinitionProps props) -
Method Summary
Modifier and TypeMethodDescriptionAn object with properties specific to Amazon ECS-based jobs.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
.An object with properties that are specific to Amazon EKS-based jobs.The name of the job definition.An object with properties that are specific to multi-node parallel jobs.Default parameters or parameter substitution placeholders that are set in the job definition.The platform capabilities required by the job definition.Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task.The retry strategy to use for failed jobs that are submitted with this job definition.The scheduling priority of the job definition.getTags()
Tag Manager which manages the tags for this resource.The tags that are applied to the job definition.The timeout time for jobs that are submitted with this job definition.getType()
The type of job definition.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
An object with properties specific to Amazon ECS-based jobs.void
An object with properties specific to Amazon ECS-based jobs.void
setEcsProperties
(IResolvable value) 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
.void
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
.void
setEksProperties
(IResolvable value) An object with properties that are specific to Amazon EKS-based jobs.void
An object with properties that are specific to Amazon EKS-based jobs.void
setJobDefinitionName
(String value) The name of the job definition.void
setNodeProperties
(IResolvable value) An object with properties that are specific to multi-node parallel jobs.void
An object with properties that are specific to multi-node parallel jobs.void
setParameters
(Object value) Default parameters or parameter substitution placeholders that are set in the job definition.void
setPlatformCapabilities
(List<String> value) The platform capabilities required by the job definition.void
setPropagateTags
(Boolean value) Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task.void
setPropagateTags
(IResolvable value) Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task.void
setRetryStrategy
(IResolvable value) The retry strategy to use for failed jobs that are submitted with this job definition.void
The retry strategy to use for failed jobs that are submitted with this job definition.void
setSchedulingPriority
(Number value) The scheduling priority of the job definition.void
setTagsRaw
(Object value) The tags that are applied to the job definition.void
setTimeout
(IResolvable value) The timeout time for jobs that are submitted with this job definition.void
The timeout time for jobs that are submitted with this job definition.void
The type of job definition.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnJobDefinition
protected CfnJobDefinition(software.amazon.jsii.JsiiObjectRef objRef) -
CfnJobDefinition
protected CfnJobDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnJobDefinition
@Stability(Stable) public CfnJobDefinition(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnJobDefinitionProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getType
The type of job definition. -
setType
The type of job definition. -
getContainerProperties
An object with properties specific to Amazon ECS-based jobs. -
setContainerProperties
An object with properties specific to Amazon ECS-based jobs. -
setContainerProperties
@Stability(Stable) public void setContainerProperties(@Nullable CfnJobDefinition.ContainerPropertiesProperty value) An object with properties specific to Amazon ECS-based jobs. -
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
. -
setEcsProperties
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
. -
setEcsProperties
@Stability(Stable) public void setEcsProperties(@Nullable CfnJobDefinition.EcsPropertiesProperty value) 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
. -
getEksProperties
An object with properties that are specific to Amazon EKS-based jobs. -
setEksProperties
An object with properties that are specific to Amazon EKS-based jobs. -
setEksProperties
@Stability(Stable) public void setEksProperties(@Nullable CfnJobDefinition.EksPropertiesProperty value) An object with properties that are specific to Amazon EKS-based jobs. -
getJobDefinitionName
The name of the job definition. -
setJobDefinitionName
The name of the job definition. -
getNodeProperties
An object with properties that are specific to multi-node parallel jobs. -
setNodeProperties
An object with properties that are specific to multi-node parallel jobs. -
setNodeProperties
@Stability(Stable) public void setNodeProperties(@Nullable CfnJobDefinition.NodePropertiesProperty value) An object with properties that are specific to multi-node parallel jobs. -
getParameters
Default parameters or parameter substitution placeholders that are set in the job definition. -
setParameters
Default parameters or parameter substitution placeholders that are set in the job definition. -
getPlatformCapabilities
The platform capabilities required by the job definition. -
setPlatformCapabilities
The platform capabilities required by the job definition. -
getPropagateTags
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. -
setPropagateTags
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. -
setPropagateTags
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. -
getRetryStrategy
The retry strategy to use for failed jobs that are submitted with this job definition. -
setRetryStrategy
The retry strategy to use for failed jobs that are submitted with this job definition. -
setRetryStrategy
@Stability(Stable) public void setRetryStrategy(@Nullable CfnJobDefinition.RetryStrategyProperty value) The retry strategy to use for failed jobs that are submitted with this job definition. -
getSchedulingPriority
The scheduling priority of the job definition. -
setSchedulingPriority
The scheduling priority of the job definition. -
getTagsRaw
The tags that are applied to the job definition. -
setTagsRaw
The tags that are applied to the job definition. -
getTimeout
The timeout time for jobs that are submitted with this job definition. -
setTimeout
The timeout time for jobs that are submitted with this job definition. -
setTimeout
The timeout time for jobs that are submitted with this job definition.
-