JobDefinitionJobDefinition is the Schema for the JobDefinitions API. Provides a Batch Job Definition resource.
TypeMR
Providerprovider-aws-batch
Groupbatch.aws.m.upbound.io
Scopenamespaced
Versionv1beta1

1apiVersion: batch.aws.m.upbound.io/v1beta1

2kind: JobDefinition

kind
string
metadata
object
spec
object

JobDefinitionSpec defines the desired state of JobDefinition

forProvider
required
object

(No description available)

object

Valid eks properties. This parameter is only valid if the type parameter is container.

object

Properties for the Kubernetes pod resources of a job. See pod_properties below.

array

Properties of the container that's used on the Amazon EKS pod. See containers below.

args
array

Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.

command
array

Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.

env
array

Environment variables to pass to a container. See EKS Environment below.

name
string
value
string
image
string
name
string
resources
object

Type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.

limits
object
requests
object
object

Security context for a job. See security_context below.

array

Volume mounts for the container.

mountPath
string
name
string
readOnly
boolean
dnsPolicy
string
array

List of Kubernetes secret resources. See image_pull_secret below.

name
string
array

Containers which run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. See containers below.

args
array

Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.

command
array

Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.

env
array

Environment variables to pass to a container. See EKS Environment below.

name
string
value
string
image
string
name
string
resources
object

Type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.

limits
object
requests
object
object

Security context for a job. See security_context below.

array

Volume mounts for the container.

mountPath
string
name
string
readOnly
boolean
metadata
object

Metadata about the Kubernetes pod.

labels
object
volumes
array

Volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types.

emptyDir
object

(No description available)

medium
string
sizeLimit
string
hostPath
object

Path of the file or directory on the host to mount into containers on the pod.

path
string
name
string
secret
object

(No description available)

optional
boolean
name
string
array

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.

region
required
string
object

Retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of retry_strategy is 1. Defined below.

attempts
number
array

Evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified. You may specify up to 5 configuration blocks.

tags
object
timeout
object

Timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of timeout is 1. Defined below.

type
string
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

object

Valid eks properties. This parameter is only valid if the type parameter is container.

object

Properties for the Kubernetes pod resources of a job. See pod_properties below.

array

Properties of the container that's used on the Amazon EKS pod. See containers below.

args
array

Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.

command
array

Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.

env
array

Environment variables to pass to a container. See EKS Environment below.

name
string
value
string
image
string
name
string
resources
object

Type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.

limits
object
requests
object
object

Security context for a job. See security_context below.

array

Volume mounts for the container.

mountPath
string
name
string
readOnly
boolean
dnsPolicy
string
array

List of Kubernetes secret resources. See image_pull_secret below.

name
string
array

Containers which run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. See containers below.

args
array

Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.

command
array

Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.

env
array

Environment variables to pass to a container. See EKS Environment below.

name
string
value
string
image
string
name
string
resources
object

Type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.

limits
object
requests
object
object

Security context for a job. See security_context below.

array

Volume mounts for the container.

mountPath
string
name
string
readOnly
boolean
metadata
object

Metadata about the Kubernetes pod.

labels
object
volumes
array

Volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types.

emptyDir
object

(No description available)

medium
string
sizeLimit
string
hostPath
object

Path of the file or directory on the host to mount into containers on the pod.

path
string
name
string
secret
object

(No description available)

optional
boolean
name
string
array

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.

object

Retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of retry_strategy is 1. Defined below.

attempts
number
array

Evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified. You may specify up to 5 configuration blocks.

tags
object
timeout
object

Timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of timeout is 1. Defined below.

type
string
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

JobDefinitionStatus defines the observed state of JobDefinition.

object

(No description available)

arn
string
arnPrefix
string
object

Valid eks properties. This parameter is only valid if the type parameter is container.

object

Properties for the Kubernetes pod resources of a job. See pod_properties below.

array

Properties of the container that's used on the Amazon EKS pod. See containers below.

args
array

Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.

command
array

Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.

env
array

Environment variables to pass to a container. See EKS Environment below.

name
string
value
string
image
string
name
string
resources
object

Type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.

limits
object
requests
object
object

Security context for a job. See security_context below.

array

Volume mounts for the container.

mountPath
string
name
string
readOnly
boolean
dnsPolicy
string
array

List of Kubernetes secret resources. See image_pull_secret below.

name
string
array

Containers which run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. See containers below.

args
array

Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.

command
array

Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.

env
array

Environment variables to pass to a container. See EKS Environment below.

name
string
value
string
image
string
name
string
resources
object

Type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.

limits
object
requests
object
object

Security context for a job. See security_context below.

array

Volume mounts for the container.

mountPath
string
name
string
readOnly
boolean
metadata
object

Metadata about the Kubernetes pod.

labels
object
volumes
array

Volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types.

emptyDir
object

(No description available)

medium
string
sizeLimit
string
hostPath
object

Path of the file or directory on the host to mount into containers on the pod.

path
string
name
string
secret
object

(No description available)

optional
boolean
id
string
name
string
array

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.

region
string
object

Retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of retry_strategy is 1. Defined below.

attempts
number
array

Evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified. You may specify up to 5 configuration blocks.

revision
number
tags
object
tagsAll
object
timeout
object

Timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of timeout is 1. Defined below.

type
string
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string