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.104.0 (build e79254c)",
date="2024-11-21T06:34:04.017Z")
@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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe authorization configuration details for the Amazon EFS file system.static final classA fluent builder forCfnJobDefinition.static interfaceContainer properties are used for Amazon ECS based job definitions.static interfaceAn object that represents a container instance host device.static interfaceAn object that contains the properties for the Amazon ECS resources of a job.static interfaceThe properties for a task definition that describes the container and volume definitions of an Amazon ECS task.static interfaceThis is used when you're using an Amazon Elastic File System file system for job storage.static interfaceAn environment variable.static interfaceEKS 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 interfaceThe volume mounts for a container for an Amazon EKS job.static interfaceAn object that contains the properties for the Kubernetes resources of a job.static interfaceSpecifies the configuration of a Kubernetessecretvolume.static interfaceSpecifies an Amazon EKS volume for a job definition.static interfaceExample:static interfaceThe Environment property type specifies environment variables to use in a job definition.static interfaceThe amount of ephemeral storage to allocate for the task.static interfaceSpecifies an array of up to 5 conditions to be met, and an action to take (RETRYorEXIT) if all conditions are met.static interfaceThe platform configuration for jobs that are running on Fargate resources.static interfaceExample:static interfaceReferences a Kubernetes secret resource.static interfaceLinux-specific modifications that are applied to the container, such as details for device mappings.static interfaceLog configuration options to send to a custom log driver for the container.static interfaceMetadata about the Kubernetes pod.static interfaceDetails for a Docker volume mount point that's used in a job's container properties.static interfaceThe network configuration for jobs that are running on Fargate resources.static interfaceAn object that represents the node properties of a multi-node parallel job.static interfaceThis is an object that represents the properties of the node range for a multi-node parallel job.static interfaceThe properties for the pod.static interfaceThe repository credentials for private registry authentication.static interfaceThe type and amount of a resource to assign to a container.static interfaceExample:static interfaceThe retry strategy that's associated with a job.static interfaceAn object that represents the compute environment architecture for AWS Batch jobs on Fargate.static interfaceAn object that represents the secret to expose to your container.static interfaceExample:static interfaceA list of containers that this task depends on.static interfaceContainer properties are used for Amazon ECS-based job definitions.static interfaceAn object that represents a job timeout configuration.static interfaceThe container path, mount options, and size of thetmpfsmount.static interfaceTheulimitsettings to pass to the container.static interfaceDetermine whether your data volume persists on the host container instance and where it's stored.static interfaceA list of volumes that are associated with the job.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnJobDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnJobDefinition(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.WhenecsPropertiesis 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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidAn object with properties specific to Amazon ECS-based jobs.voidAn object with properties specific to Amazon ECS-based jobs.voidsetEcsProperties(IResolvable value) 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.voidAn 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.voidsetEksProperties(IResolvable value) An object with properties that are specific to Amazon EKS-based jobs.voidAn object with properties that are specific to Amazon EKS-based jobs.voidsetJobDefinitionName(String value) The name of the job definition.voidsetNodeProperties(IResolvable value) An object with properties that are specific to multi-node parallel jobs.voidAn object with properties that are specific to multi-node parallel jobs.voidsetParameters(Object value) Default parameters or parameter substitution placeholders that are set in the job definition.voidsetPlatformCapabilities(List<String> value) The platform capabilities required by the job definition.voidsetPropagateTags(Boolean value) Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task.voidsetPropagateTags(IResolvable value) Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task.voidsetRetryStrategy(IResolvable value) The retry strategy to use for failed jobs that are submitted with this job definition.voidThe retry strategy to use for failed jobs that are submitted with this job definition.voidsetSchedulingPriority(Number value) The scheduling priority of the job definition.voidsetTagsRaw(Object value) The tags that are applied to the job definition.voidsetTimeout(IResolvable value) The timeout time for jobs that are submitted with this job definition.voidThe timeout time for jobs that are submitted with this job definition.voidThe 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, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnPropertiesin 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.WhenecsPropertiesis 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.WhenecsPropertiesis 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.WhenecsPropertiesis 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.
-