AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi
aws.batch.getJobDefinition
Explore with Pulumi AI
Data source for managing an AWS Batch Job Definition.
Example Usage
Lookup via Arn
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const arn = aws.batch.getJobDefinition({
arn: "arn:aws:batch:us-east-1:012345678910:job-definition/example",
});
import pulumi
import pulumi_aws as aws
arn = aws.batch.get_job_definition(arn="arn:aws:batch:us-east-1:012345678910:job-definition/example")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.LookupJobDefinition(ctx, &batch.LookupJobDefinitionArgs{
Arn: pulumi.StringRef("arn:aws:batch:us-east-1:012345678910:job-definition/example"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var arn = Aws.Batch.GetJobDefinition.Invoke(new()
{
Arn = "arn:aws:batch:us-east-1:012345678910:job-definition/example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.batch.BatchFunctions;
import com.pulumi.aws.batch.inputs.GetJobDefinitionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var arn = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
.arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
.build());
}
}
variables:
arn:
fn::invoke:
Function: aws:batch:getJobDefinition
Arguments:
arn: arn:aws:batch:us-east-1:012345678910:job-definition/example
Lookup via Name
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const name = aws.batch.getJobDefinition({
name: "example",
revision: 2,
});
import pulumi
import pulumi_aws as aws
name = aws.batch.get_job_definition(name="example",
revision=2)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.LookupJobDefinition(ctx, &batch.LookupJobDefinitionArgs{
Name: pulumi.StringRef("example"),
Revision: pulumi.IntRef(2),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var name = Aws.Batch.GetJobDefinition.Invoke(new()
{
Name = "example",
Revision = 2,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.batch.BatchFunctions;
import com.pulumi.aws.batch.inputs.GetJobDefinitionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var name = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
.name("example")
.revision(2)
.build());
}
}
variables:
name:
fn::invoke:
Function: aws:batch:getJobDefinition
Arguments:
name: example
revision: 2
Using getJobDefinition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getJobDefinition(args: GetJobDefinitionArgs, opts?: InvokeOptions): Promise<GetJobDefinitionResult>
function getJobDefinitionOutput(args: GetJobDefinitionOutputArgs, opts?: InvokeOptions): Output<GetJobDefinitionResult>
def get_job_definition(arn: Optional[str] = None,
name: Optional[str] = None,
revision: Optional[int] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetJobDefinitionResult
def get_job_definition_output(arn: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
revision: Optional[pulumi.Input[int]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetJobDefinitionResult]
func LookupJobDefinition(ctx *Context, args *LookupJobDefinitionArgs, opts ...InvokeOption) (*LookupJobDefinitionResult, error)
func LookupJobDefinitionOutput(ctx *Context, args *LookupJobDefinitionOutputArgs, opts ...InvokeOption) LookupJobDefinitionResultOutput
> Note: This function is named LookupJobDefinition
in the Go SDK.
public static class GetJobDefinition
{
public static Task<GetJobDefinitionResult> InvokeAsync(GetJobDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetJobDefinitionResult> Invoke(GetJobDefinitionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJobDefinitionResult> getJobDefinition(GetJobDefinitionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:batch/getJobDefinition:getJobDefinition
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- ARN of the Job Definition. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Revision int
- The revision of the job definition.
- Status string
- The status of the job definition.
- Arn string
- ARN of the Job Definition. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Revision int
- The revision of the job definition.
- Status string
- The status of the job definition.
- arn String
- ARN of the Job Definition. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- revision Integer
- The revision of the job definition.
- status String
- The status of the job definition.
- arn string
- ARN of the Job Definition. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- revision number
- The revision of the job definition.
- status string
- The status of the job definition.
- arn str
- ARN of the Job Definition. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- name str
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- revision int
- The revision of the job definition.
- status str
- The status of the job definition.
- arn String
- ARN of the Job Definition. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- revision Number
- The revision of the job definition.
- status String
- The status of the job definition.
getJobDefinition Result
The following output properties are available:
- Arn
Prefix string - Container
Orchestration stringType - The orchestration type of the compute environment.
- Eks
Properties List<GetJob Definition Eks Property> - An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS based job definitions.
- Id string
- The ARN
- Node
Properties List<GetJob Definition Node Property> - An object with various properties specific to multi-node parallel jobs. If you specify node properties for a job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the AWS Batch User Guide. If the job definition's type parameter is container, then you must specify either containerProperties or nodeProperties.
- Retry
Strategies List<GetJob Definition Retry Strategy> - The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that's specified during a SubmitJob operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it isn't retried.
- Scheduling
Priority int - The scheduling priority for jobs that are submitted with this 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.
- Dictionary<string, string>
- Timeouts
List<Get
Job Definition Timeout> - The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it isn't retried. The minimum value for the timeout is 60 seconds.
- Type string
- The type of resource to assign to a container. The supported resources include
GPU
,MEMORY
, andVCPU
. - Arn string
- Name string
- The name of the volume.
- Revision int
- Status string
- Arn
Prefix string - Container
Orchestration stringType - The orchestration type of the compute environment.
- Eks
Properties []GetJob Definition Eks Property - An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS based job definitions.
- Id string
- The ARN
- Node
Properties []GetJob Definition Node Property - An object with various properties specific to multi-node parallel jobs. If you specify node properties for a job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the AWS Batch User Guide. If the job definition's type parameter is container, then you must specify either containerProperties or nodeProperties.
- Retry
Strategies []GetJob Definition Retry Strategy - The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that's specified during a SubmitJob operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it isn't retried.
- Scheduling
Priority int - The scheduling priority for jobs that are submitted with this 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.
- map[string]string
- Timeouts
[]Get
Job Definition Timeout - The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it isn't retried. The minimum value for the timeout is 60 seconds.
- Type string
- The type of resource to assign to a container. The supported resources include
GPU
,MEMORY
, andVCPU
. - Arn string
- Name string
- The name of the volume.
- Revision int
- Status string
- arn
Prefix String - container
Orchestration StringType - The orchestration type of the compute environment.
- eks
Properties List<GetJob Definition Eks Property> - An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS based job definitions.
- id String
- The ARN
- node
Properties List<GetJob Definition Node Property> - An object with various properties specific to multi-node parallel jobs. If you specify node properties for a job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the AWS Batch User Guide. If the job definition's type parameter is container, then you must specify either containerProperties or nodeProperties.
- retry
Strategies List<GetJob Definition Retry Strategy> - The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that's specified during a SubmitJob operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it isn't retried.
- scheduling
Priority Integer - The scheduling priority for jobs that are submitted with this 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.
- Map<String,String>
- timeouts
List<Get
Job Definition Timeout> - The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it isn't retried. The minimum value for the timeout is 60 seconds.
- type String
- The type of resource to assign to a container. The supported resources include
GPU
,MEMORY
, andVCPU
. - arn String
- name String
- The name of the volume.
- revision Integer
- status String
- arn
Prefix string - container
Orchestration stringType - The orchestration type of the compute environment.
- eks
Properties GetJob Definition Eks Property[] - An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS based job definitions.
- id string
- The ARN
- node
Properties GetJob Definition Node Property[] - An object with various properties specific to multi-node parallel jobs. If you specify node properties for a job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the AWS Batch User Guide. If the job definition's type parameter is container, then you must specify either containerProperties or nodeProperties.
- retry
Strategies GetJob Definition Retry Strategy[] - The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that's specified during a SubmitJob operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it isn't retried.
- scheduling
Priority number - The scheduling priority for jobs that are submitted with this 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.
- {[key: string]: string}
- timeouts
Get
Job Definition Timeout[] - The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it isn't retried. The minimum value for the timeout is 60 seconds.
- type string
- The type of resource to assign to a container. The supported resources include
GPU
,MEMORY
, andVCPU
. - arn string
- name string
- The name of the volume.
- revision number
- status string
- arn_
prefix str - container_
orchestration_ strtype - The orchestration type of the compute environment.
- eks_
properties Sequence[GetJob Definition Eks Property] - An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS based job definitions.
- id str
- The ARN
- node_
properties Sequence[GetJob Definition Node Property] - An object with various properties specific to multi-node parallel jobs. If you specify node properties for a job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the AWS Batch User Guide. If the job definition's type parameter is container, then you must specify either containerProperties or nodeProperties.
- retry_
strategies Sequence[GetJob Definition Retry Strategy] - The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that's specified during a SubmitJob operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it isn't retried.
- scheduling_
priority int - The scheduling priority for jobs that are submitted with this 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.
- Mapping[str, str]
- timeouts
Sequence[Get
Job Definition Timeout] - The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it isn't retried. The minimum value for the timeout is 60 seconds.
- type str
- The type of resource to assign to a container. The supported resources include
GPU
,MEMORY
, andVCPU
. - arn str
- name str
- The name of the volume.
- revision int
- status str
- arn
Prefix String - container
Orchestration StringType - The orchestration type of the compute environment.
- eks
Properties List<Property Map> - An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS based job definitions.
- id String
- The ARN
- node
Properties List<Property Map> - An object with various properties specific to multi-node parallel jobs. If you specify node properties for a job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the AWS Batch User Guide. If the job definition's type parameter is container, then you must specify either containerProperties or nodeProperties.
- retry
Strategies List<Property Map> - The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that's specified during a SubmitJob operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it isn't retried.
- scheduling
Priority Number - The scheduling priority for jobs that are submitted with this 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.
- Map<String>
- timeouts List<Property Map>
- The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it isn't retried. The minimum value for the timeout is 60 seconds.
- type String
- The type of resource to assign to a container. The supported resources include
GPU
,MEMORY
, andVCPU
. - arn String
- name String
- The name of the volume.
- revision Number
- status String
Supporting Types
GetJobDefinitionEksProperty
- Pod
Properties List<GetJob Definition Eks Property Pod Property> - The properties for the Kubernetes pod resources of a job.
- Pod
Properties []GetJob Definition Eks Property Pod Property - The properties for the Kubernetes pod resources of a job.
- pod
Properties List<GetJob Definition Eks Property Pod Property> - The properties for the Kubernetes pod resources of a job.
- pod
Properties GetJob Definition Eks Property Pod Property[] - The properties for the Kubernetes pod resources of a job.
- pod_
properties Sequence[GetJob Definition Eks Property Pod Property] - The properties for the Kubernetes pod resources of a job.
- pod
Properties List<Property Map> - The properties for the Kubernetes pod resources of a job.
GetJobDefinitionEksPropertyPodProperty
- Containers
List<Get
Job Definition Eks Property Pod Property Container> - The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects.
- Dns
Policy string - The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node.
- Host
Network bool - Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.
- Metadatas
List<Get
Job Definition Eks Property Pod Property Metadata> - Metadata about the Kubernetes pod.
- Service
Account boolName - The name of the service account that's used to run the pod.
- Volumes
List<Get
Job Definition Eks Property Pod Property Volume> - A list of data volumes used in a job.
- Containers
[]Get
Job Definition Eks Property Pod Property Container - The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects.
- Dns
Policy string - The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node.
- Host
Network bool - Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.
- Metadatas
[]Get
Job Definition Eks Property Pod Property Metadata - Metadata about the Kubernetes pod.
- Service
Account boolName - The name of the service account that's used to run the pod.
- Volumes
[]Get
Job Definition Eks Property Pod Property Volume - A list of data volumes used in a job.
- containers
List<Get
Job Definition Eks Property Pod Property Container> - The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects.
- dns
Policy String - The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node.
- host
Network Boolean - Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.
- metadatas
List<Get
Job Definition Eks Property Pod Property Metadata> - Metadata about the Kubernetes pod.
- service
Account BooleanName - The name of the service account that's used to run the pod.
- volumes
List<Get
Job Definition Eks Property Pod Property Volume> - A list of data volumes used in a job.
- containers
Get
Job Definition Eks Property Pod Property Container[] - The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects.
- dns
Policy string - The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node.
- host
Network boolean - Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.
- metadatas
Get
Job Definition Eks Property Pod Property Metadata[] - Metadata about the Kubernetes pod.
- service
Account booleanName - The name of the service account that's used to run the pod.
- volumes
Get
Job Definition Eks Property Pod Property Volume[] - A list of data volumes used in a job.
- containers
Sequence[Get
Job Definition Eks Property Pod Property Container] - The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects.
- dns_
policy str - The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node.
- host_
network bool - Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.
- metadatas
Sequence[Get
Job Definition Eks Property Pod Property Metadata] - Metadata about the Kubernetes pod.
- service_
account_ boolname - The name of the service account that's used to run the pod.
- volumes
Sequence[Get
Job Definition Eks Property Pod Property Volume] - A list of data volumes used in a job.
- containers List<Property Map>
- The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects.
- dns
Policy String - The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node.
- host
Network Boolean - Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.
- metadatas List<Property Map>
- Metadata about the Kubernetes pod.
- service
Account BooleanName - The name of the service account that's used to run the pod.
- volumes List<Property Map>
- A list of data volumes used in a job.
GetJobDefinitionEksPropertyPodPropertyContainer
- Args List<string>
- An array of arguments to the entrypoint
- Commands List<string>
- The command that's passed to the container.
- Envs
List<Get
Job Definition Eks Property Pod Property Container Env> - The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects.
- Image string
- The image used to start a container.
- Image
Pull stringPolicy - The image pull policy for the container.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Resources
List<Get
Job Definition Eks Property Pod Property Container Resource> - The type and amount of resources to assign to a container.
- Security
Contexts List<GetJob Definition Eks Property Pod Property Container Security Context> - The security context for a job.
- Volume
Mounts List<GetJob Definition Eks Property Pod Property Container Volume Mount> - The volume mounts for the container.
- Args []string
- An array of arguments to the entrypoint
- Commands []string
- The command that's passed to the container.
- Envs
[]Get
Job Definition Eks Property Pod Property Container Env - The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects.
- Image string
- The image used to start a container.
- Image
Pull stringPolicy - The image pull policy for the container.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Resources
[]Get
Job Definition Eks Property Pod Property Container Resource - The type and amount of resources to assign to a container.
- Security
Contexts []GetJob Definition Eks Property Pod Property Container Security Context - The security context for a job.
- Volume
Mounts []GetJob Definition Eks Property Pod Property Container Volume Mount - The volume mounts for the container.
- args List<String>
- An array of arguments to the entrypoint
- commands List<String>
- The command that's passed to the container.
- envs
List<Get
Job Definition Eks Property Pod Property Container Env> - The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects.
- image String
- The image used to start a container.
- image
Pull StringPolicy - The image pull policy for the container.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- resources
List<Get
Job Definition Eks Property Pod Property Container Resource> - The type and amount of resources to assign to a container.
- security
Contexts List<GetJob Definition Eks Property Pod Property Container Security Context> - The security context for a job.
- volume
Mounts List<GetJob Definition Eks Property Pod Property Container Volume Mount> - The volume mounts for the container.
- args string[]
- An array of arguments to the entrypoint
- commands string[]
- The command that's passed to the container.
- envs
Get
Job Definition Eks Property Pod Property Container Env[] - The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects.
- image string
- The image used to start a container.
- image
Pull stringPolicy - The image pull policy for the container.
- name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- resources
Get
Job Definition Eks Property Pod Property Container Resource[] - The type and amount of resources to assign to a container.
- security
Contexts GetJob Definition Eks Property Pod Property Container Security Context[] - The security context for a job.
- volume
Mounts GetJob Definition Eks Property Pod Property Container Volume Mount[] - The volume mounts for the container.
- args Sequence[str]
- An array of arguments to the entrypoint
- commands Sequence[str]
- The command that's passed to the container.
- envs
Sequence[Get
Job Definition Eks Property Pod Property Container Env] - The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects.
- image str
- The image used to start a container.
- image_
pull_ strpolicy - The image pull policy for the container.
- name str
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- resources
Sequence[Get
Job Definition Eks Property Pod Property Container Resource] - The type and amount of resources to assign to a container.
- security_
contexts Sequence[GetJob Definition Eks Property Pod Property Container Security Context] - The security context for a job.
- volume_
mounts Sequence[GetJob Definition Eks Property Pod Property Container Volume Mount] - The volume mounts for the container.
- args List<String>
- An array of arguments to the entrypoint
- commands List<String>
- The command that's passed to the container.
- envs List<Property Map>
- The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects.
- image String
- The image used to start a container.
- image
Pull StringPolicy - The image pull policy for the container.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- resources List<Property Map>
- The type and amount of resources to assign to a container.
- security
Contexts List<Property Map> - The security context for a job.
- volume
Mounts List<Property Map> - The volume mounts for the container.
GetJobDefinitionEksPropertyPodPropertyContainerEnv
GetJobDefinitionEksPropertyPodPropertyContainerResource
GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext
- Privileged bool
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- Read
Only boolRoot File System - Run
As intGroup - When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata.
- Run
As boolNon Root - When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced.
- Run
As intUser - When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata.
- Privileged bool
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- Read
Only boolRoot File System - Run
As intGroup - When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata.
- Run
As boolNon Root - When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced.
- Run
As intUser - When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata.
- privileged Boolean
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- read
Only BooleanRoot File System - run
As IntegerGroup - When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata.
- run
As BooleanNon Root - When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced.
- run
As IntegerUser - When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata.
- privileged boolean
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- read
Only booleanRoot File System - run
As numberGroup - When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata.
- run
As booleanNon Root - When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced.
- run
As numberUser - When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata.
- privileged bool
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- read_
only_ boolroot_ file_ system - run_
as_ intgroup - When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata.
- run_
as_ boolnon_ root - When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced.
- run_
as_ intuser - When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata.
- privileged Boolean
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- read
Only BooleanRoot File System - run
As NumberGroup - When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata.
- run
As BooleanNon Root - When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced.
- run
As NumberUser - When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata.
GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount
- Mount
Path string - The path on the container where the volume is mounted.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Read
Only bool - If this value is true, the container has read-only access to the volume.
- Mount
Path string - The path on the container where the volume is mounted.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Read
Only bool - If this value is true, the container has read-only access to the volume.
- mount
Path String - The path on the container where the volume is mounted.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- read
Only Boolean - If this value is true, the container has read-only access to the volume.
- mount
Path string - The path on the container where the volume is mounted.
- name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- read
Only boolean - If this value is true, the container has read-only access to the volume.
- mount_
path str - The path on the container where the volume is mounted.
- name str
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- read_
only bool - If this value is true, the container has read-only access to the volume.
- mount
Path String - The path on the container where the volume is mounted.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- read
Only Boolean - If this value is true, the container has read-only access to the volume.
GetJobDefinitionEksPropertyPodPropertyMetadata
- Labels Dictionary<string, string>
- Key-value pairs used to identify, sort, and organize cube resources.
- Labels map[string]string
- Key-value pairs used to identify, sort, and organize cube resources.
- labels Map<String,String>
- Key-value pairs used to identify, sort, and organize cube resources.
- labels {[key: string]: string}
- Key-value pairs used to identify, sort, and organize cube resources.
- labels Mapping[str, str]
- Key-value pairs used to identify, sort, and organize cube resources.
- labels Map<String>
- Key-value pairs used to identify, sort, and organize cube resources.
GetJobDefinitionEksPropertyPodPropertyVolume
- Empty
Dirs List<GetJob Definition Eks Property Pod Property Volume Empty Dir> - Specifies the configuration of a Kubernetes emptyDir volume.
- Host
Paths List<GetJob Definition Eks Property Pod Property Volume Host Path> - The path for the device on the host container instance.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Secrets
List<Get
Job Definition Eks Property Pod Property Volume Secret> - Specifies the configuration of a Kubernetes secret volume.
- Empty
Dirs []GetJob Definition Eks Property Pod Property Volume Empty Dir - Specifies the configuration of a Kubernetes emptyDir volume.
- Host
Paths []GetJob Definition Eks Property Pod Property Volume Host Path - The path for the device on the host container instance.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Secrets
[]Get
Job Definition Eks Property Pod Property Volume Secret - Specifies the configuration of a Kubernetes secret volume.
- empty
Dirs List<GetJob Definition Eks Property Pod Property Volume Empty Dir> - Specifies the configuration of a Kubernetes emptyDir volume.
- host
Paths List<GetJob Definition Eks Property Pod Property Volume Host Path> - The path for the device on the host container instance.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- secrets
List<Get
Job Definition Eks Property Pod Property Volume Secret> - Specifies the configuration of a Kubernetes secret volume.
- empty
Dirs GetJob Definition Eks Property Pod Property Volume Empty Dir[] - Specifies the configuration of a Kubernetes emptyDir volume.
- host
Paths GetJob Definition Eks Property Pod Property Volume Host Path[] - The path for the device on the host container instance.
- name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- secrets
Get
Job Definition Eks Property Pod Property Volume Secret[] - Specifies the configuration of a Kubernetes secret volume.
- empty_
dirs Sequence[GetJob Definition Eks Property Pod Property Volume Empty Dir] - Specifies the configuration of a Kubernetes emptyDir volume.
- host_
paths Sequence[GetJob Definition Eks Property Pod Property Volume Host Path] - The path for the device on the host container instance.
- name str
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- secrets
Sequence[Get
Job Definition Eks Property Pod Property Volume Secret] - Specifies the configuration of a Kubernetes secret volume.
- empty
Dirs List<Property Map> - Specifies the configuration of a Kubernetes emptyDir volume.
- host
Paths List<Property Map> - The path for the device on the host container instance.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- secrets List<Property Map>
- Specifies the configuration of a Kubernetes secret volume.
GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir
- medium str
- The medium to store the volume.
- size_
limit str - The maximum size of the volume. By default, there's no maximum size defined.
GetJobDefinitionEksPropertyPodPropertyVolumeHostPath
- Path string
- The path of the file or directory on the host to mount into containers on the pod.
- Path string
- The path of the file or directory on the host to mount into containers on the pod.
- path String
- The path of the file or directory on the host to mount into containers on the pod.
- path string
- The path of the file or directory on the host to mount into containers on the pod.
- path str
- The path of the file or directory on the host to mount into containers on the pod.
- path String
- The path of the file or directory on the host to mount into containers on the pod.
GetJobDefinitionEksPropertyPodPropertyVolumeSecret
- Optional bool
- Specifies whether the secret or the secret's keys must be defined.
- Secret
Name string - The name of the secret. The name must be allowed as a DNS subdomain name
- Optional bool
- Specifies whether the secret or the secret's keys must be defined.
- Secret
Name string - The name of the secret. The name must be allowed as a DNS subdomain name
- optional Boolean
- Specifies whether the secret or the secret's keys must be defined.
- secret
Name String - The name of the secret. The name must be allowed as a DNS subdomain name
- optional boolean
- Specifies whether the secret or the secret's keys must be defined.
- secret
Name string - The name of the secret. The name must be allowed as a DNS subdomain name
- optional bool
- Specifies whether the secret or the secret's keys must be defined.
- secret_
name str - The name of the secret. The name must be allowed as a DNS subdomain name
- optional Boolean
- Specifies whether the secret or the secret's keys must be defined.
- secret
Name String - The name of the secret. The name must be allowed as a DNS subdomain name
GetJobDefinitionNodeProperty
- Main
Node int - Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
- Node
Range List<GetProperties Job Definition Node Property Node Range Property> - A list of node ranges and their properties that are associated with a multi-node parallel job.
- Num
Nodes int - The number of nodes that are associated with a multi-node parallel job.
- Main
Node int - Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
- Node
Range []GetProperties Job Definition Node Property Node Range Property - A list of node ranges and their properties that are associated with a multi-node parallel job.
- Num
Nodes int - The number of nodes that are associated with a multi-node parallel job.
- main
Node Integer - Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
- node
Range List<GetProperties Job Definition Node Property Node Range Property> - A list of node ranges and their properties that are associated with a multi-node parallel job.
- num
Nodes Integer - The number of nodes that are associated with a multi-node parallel job.
- main
Node number - Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
- node
Range GetProperties Job Definition Node Property Node Range Property[] - A list of node ranges and their properties that are associated with a multi-node parallel job.
- num
Nodes number - The number of nodes that are associated with a multi-node parallel job.
- main_
node int - Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
- node_
range_ Sequence[Getproperties Job Definition Node Property Node Range Property] - A list of node ranges and their properties that are associated with a multi-node parallel job.
- num_
nodes int - The number of nodes that are associated with a multi-node parallel job.
- main
Node Number - Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
- node
Range List<Property Map>Properties - A list of node ranges and their properties that are associated with a multi-node parallel job.
- num
Nodes Number - The number of nodes that are associated with a multi-node parallel job.
GetJobDefinitionNodePropertyNodeRangeProperty
- Containers
List<Get
Job Definition Node Property Node Range Property Container> - The container details for the node range.
- Target
Nodes string - The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I
- Containers
[]Get
Job Definition Node Property Node Range Property Container - The container details for the node range.
- Target
Nodes string - The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I
- containers
List<Get
Job Definition Node Property Node Range Property Container> - The container details for the node range.
- target
Nodes String - The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I
- containers
Get
Job Definition Node Property Node Range Property Container[] - The container details for the node range.
- target
Nodes string - The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I
- containers
Sequence[Get
Job Definition Node Property Node Range Property Container] - The container details for the node range.
- target_
nodes str - The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I
- containers List<Property Map>
- The container details for the node range.
- target
Nodes String - The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I
GetJobDefinitionNodePropertyNodeRangePropertyContainer
- Commands List<string>
- The command that's passed to the container.
- Environments
List<Get
Job Definition Node Property Node Range Property Container Environment> - The environment variables to pass to a container.
- Ephemeral
Storages List<GetJob Definition Node Property Node Range Property Container Ephemeral Storage> - The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate.
- Execution
Role stringArn - The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role.
- Fargate
Platform List<GetConfigurations Job Definition Node Property Node Range Property Container Fargate Platform Configuration> - The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.
- Image string
- The image used to start a container.
- Instance
Type string - The instance type to use for a multi-node parallel job.
- Job
Role stringArn - The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
- Linux
Parameters List<GetJob Definition Node Property Node Range Property Container Linux Parameter> - Linux-specific modifications that are applied to the container.
- Log
Configurations List<GetJob Definition Node Property Node Range Property Container Log Configuration> - The log configuration specification for the container.
- Mount
Points List<GetJob Definition Node Property Node Range Property Container Mount Point> - The mount points for data volumes in your container.
- Network
Configurations List<GetJob Definition Node Property Node Range Property Container Network Configuration> - The network configuration for jobs that are running on Fargate resources.
- Privileged bool
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- Readonly
Root boolFilesystem - When this parameter is true, the container is given read-only access to its root file system.
- Resource
Requirements List<GetJob Definition Node Property Node Range Property Container Resource Requirement> - The type and amount of resources to assign to a container.
- Runtime
Platforms List<GetJob Definition Node Property Node Range Property Container Runtime Platform> - An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
- Secrets
List<Get
Job Definition Node Property Node Range Property Container Secret> - The secrets for the container.
- Ulimits
List<Get
Job Definition Node Property Node Range Property Container Ulimit> - A list of ulimits to set in the container.
- User string
- The user name to use inside the container.
- Volumes
List<Get
Job Definition Node Property Node Range Property Container Volume> - A list of data volumes used in a job.
- Commands []string
- The command that's passed to the container.
- Environments
[]Get
Job Definition Node Property Node Range Property Container Environment - The environment variables to pass to a container.
- Ephemeral
Storages []GetJob Definition Node Property Node Range Property Container Ephemeral Storage - The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate.
- Execution
Role stringArn - The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role.
- Fargate
Platform []GetConfigurations Job Definition Node Property Node Range Property Container Fargate Platform Configuration - The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.
- Image string
- The image used to start a container.
- Instance
Type string - The instance type to use for a multi-node parallel job.
- Job
Role stringArn - The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
- Linux
Parameters []GetJob Definition Node Property Node Range Property Container Linux Parameter - Linux-specific modifications that are applied to the container.
- Log
Configurations []GetJob Definition Node Property Node Range Property Container Log Configuration - The log configuration specification for the container.
- Mount
Points []GetJob Definition Node Property Node Range Property Container Mount Point - The mount points for data volumes in your container.
- Network
Configurations []GetJob Definition Node Property Node Range Property Container Network Configuration - The network configuration for jobs that are running on Fargate resources.
- Privileged bool
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- Readonly
Root boolFilesystem - When this parameter is true, the container is given read-only access to its root file system.
- Resource
Requirements []GetJob Definition Node Property Node Range Property Container Resource Requirement - The type and amount of resources to assign to a container.
- Runtime
Platforms []GetJob Definition Node Property Node Range Property Container Runtime Platform - An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
- Secrets
[]Get
Job Definition Node Property Node Range Property Container Secret - The secrets for the container.
- Ulimits
[]Get
Job Definition Node Property Node Range Property Container Ulimit - A list of ulimits to set in the container.
- User string
- The user name to use inside the container.
- Volumes
[]Get
Job Definition Node Property Node Range Property Container Volume - A list of data volumes used in a job.
- commands List<String>
- The command that's passed to the container.
- environments
List<Get
Job Definition Node Property Node Range Property Container Environment> - The environment variables to pass to a container.
- ephemeral
Storages List<GetJob Definition Node Property Node Range Property Container Ephemeral Storage> - The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate.
- execution
Role StringArn - The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role.
- fargate
Platform List<GetConfigurations Job Definition Node Property Node Range Property Container Fargate Platform Configuration> - The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.
- image String
- The image used to start a container.
- instance
Type String - The instance type to use for a multi-node parallel job.
- job
Role StringArn - The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
- linux
Parameters List<GetJob Definition Node Property Node Range Property Container Linux Parameter> - Linux-specific modifications that are applied to the container.
- log
Configurations List<GetJob Definition Node Property Node Range Property Container Log Configuration> - The log configuration specification for the container.
- mount
Points List<GetJob Definition Node Property Node Range Property Container Mount Point> - The mount points for data volumes in your container.
- network
Configurations List<GetJob Definition Node Property Node Range Property Container Network Configuration> - The network configuration for jobs that are running on Fargate resources.
- privileged Boolean
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- readonly
Root BooleanFilesystem - When this parameter is true, the container is given read-only access to its root file system.
- resource
Requirements List<GetJob Definition Node Property Node Range Property Container Resource Requirement> - The type and amount of resources to assign to a container.
- runtime
Platforms List<GetJob Definition Node Property Node Range Property Container Runtime Platform> - An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
- secrets
List<Get
Job Definition Node Property Node Range Property Container Secret> - The secrets for the container.
- ulimits
List<Get
Job Definition Node Property Node Range Property Container Ulimit> - A list of ulimits to set in the container.
- user String
- The user name to use inside the container.
- volumes
List<Get
Job Definition Node Property Node Range Property Container Volume> - A list of data volumes used in a job.
- commands string[]
- The command that's passed to the container.
- environments
Get
Job Definition Node Property Node Range Property Container Environment[] - The environment variables to pass to a container.
- ephemeral
Storages GetJob Definition Node Property Node Range Property Container Ephemeral Storage[] - The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate.
- execution
Role stringArn - The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role.
- fargate
Platform GetConfigurations Job Definition Node Property Node Range Property Container Fargate Platform Configuration[] - The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.
- image string
- The image used to start a container.
- instance
Type string - The instance type to use for a multi-node parallel job.
- job
Role stringArn - The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
- linux
Parameters GetJob Definition Node Property Node Range Property Container Linux Parameter[] - Linux-specific modifications that are applied to the container.
- log
Configurations GetJob Definition Node Property Node Range Property Container Log Configuration[] - The log configuration specification for the container.
- mount
Points GetJob Definition Node Property Node Range Property Container Mount Point[] - The mount points for data volumes in your container.
- network
Configurations GetJob Definition Node Property Node Range Property Container Network Configuration[] - The network configuration for jobs that are running on Fargate resources.
- privileged boolean
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- readonly
Root booleanFilesystem - When this parameter is true, the container is given read-only access to its root file system.
- resource
Requirements GetJob Definition Node Property Node Range Property Container Resource Requirement[] - The type and amount of resources to assign to a container.
- runtime
Platforms GetJob Definition Node Property Node Range Property Container Runtime Platform[] - An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
- secrets
Get
Job Definition Node Property Node Range Property Container Secret[] - The secrets for the container.
- ulimits
Get
Job Definition Node Property Node Range Property Container Ulimit[] - A list of ulimits to set in the container.
- user string
- The user name to use inside the container.
- volumes
Get
Job Definition Node Property Node Range Property Container Volume[] - A list of data volumes used in a job.
- commands Sequence[str]
- The command that's passed to the container.
- environments
Sequence[Get
Job Definition Node Property Node Range Property Container Environment] - The environment variables to pass to a container.
- ephemeral_
storages Sequence[GetJob Definition Node Property Node Range Property Container Ephemeral Storage] - The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate.
- execution_
role_ strarn - The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role.
- fargate_
platform_ Sequence[Getconfigurations Job Definition Node Property Node Range Property Container Fargate Platform Configuration] - The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.
- image str
- The image used to start a container.
- instance_
type str - The instance type to use for a multi-node parallel job.
- job_
role_ strarn - The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
- linux_
parameters Sequence[GetJob Definition Node Property Node Range Property Container Linux Parameter] - Linux-specific modifications that are applied to the container.
- log_
configurations Sequence[GetJob Definition Node Property Node Range Property Container Log Configuration] - The log configuration specification for the container.
- mount_
points Sequence[GetJob Definition Node Property Node Range Property Container Mount Point] - The mount points for data volumes in your container.
- network_
configurations Sequence[GetJob Definition Node Property Node Range Property Container Network Configuration] - The network configuration for jobs that are running on Fargate resources.
- privileged bool
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- readonly_
root_ boolfilesystem - When this parameter is true, the container is given read-only access to its root file system.
- resource_
requirements Sequence[GetJob Definition Node Property Node Range Property Container Resource Requirement] - The type and amount of resources to assign to a container.
- runtime_
platforms Sequence[GetJob Definition Node Property Node Range Property Container Runtime Platform] - An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
- secrets
Sequence[Get
Job Definition Node Property Node Range Property Container Secret] - The secrets for the container.
- ulimits
Sequence[Get
Job Definition Node Property Node Range Property Container Ulimit] - A list of ulimits to set in the container.
- user str
- The user name to use inside the container.
- volumes
Sequence[Get
Job Definition Node Property Node Range Property Container Volume] - A list of data volumes used in a job.
- commands List<String>
- The command that's passed to the container.
- environments List<Property Map>
- The environment variables to pass to a container.
- ephemeral
Storages List<Property Map> - The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate.
- execution
Role StringArn - The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role.
- fargate
Platform List<Property Map>Configurations - The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.
- image String
- The image used to start a container.
- instance
Type String - The instance type to use for a multi-node parallel job.
- job
Role StringArn - The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
- linux
Parameters List<Property Map> - Linux-specific modifications that are applied to the container.
- log
Configurations List<Property Map> - The log configuration specification for the container.
- mount
Points List<Property Map> - The mount points for data volumes in your container.
- network
Configurations List<Property Map> - The network configuration for jobs that are running on Fargate resources.
- privileged Boolean
- When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
- readonly
Root BooleanFilesystem - When this parameter is true, the container is given read-only access to its root file system.
- resource
Requirements List<Property Map> - The type and amount of resources to assign to a container.
- runtime
Platforms List<Property Map> - An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
- secrets List<Property Map>
- The secrets for the container.
- ulimits List<Property Map>
- A list of ulimits to set in the container.
- user String
- The user name to use inside the container.
- volumes List<Property Map>
- A list of data volumes used in a job.
GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment
GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage
- Size
In intGib
- Size
In intGib
- size
In IntegerGib
- size
In numberGib
- size_
in_ intgib
- size
In NumberGib
GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration
- Platform
Version string - The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources.
- Platform
Version string - The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources.
- platform
Version String - The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources.
- platform
Version string - The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources.
- platform_
version str - The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources.
- platform
Version String - The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources.
GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter
- Devices
List<Get
Job Definition Node Property Node Range Property Container Linux Parameter Device> - Any of the host devices to expose to the container.
- Init
Process boolEnabled - If true, run an init process inside the container that forwards signals and reaps processes.
- Max
Swap int - The total amount of swap memory (in MiB) a container can use.
- int
- The value for the size (in MiB) of the
/dev/shm
volume. - Swappiness int
- You can use this parameter to tune a container's memory swappiness behavior.
- Tmpfs
List<Get
Job Definition Node Property Node Range Property Container Linux Parameter Tmpf> - The container path, mount options, and size (in MiB) of the tmpfs mount.
- Devices
[]Get
Job Definition Node Property Node Range Property Container Linux Parameter Device - Any of the host devices to expose to the container.
- Init
Process boolEnabled - If true, run an init process inside the container that forwards signals and reaps processes.
- Max
Swap int - The total amount of swap memory (in MiB) a container can use.
- int
- The value for the size (in MiB) of the
/dev/shm
volume. - Swappiness int
- You can use this parameter to tune a container's memory swappiness behavior.
- Tmpfs
[]Get
Job Definition Node Property Node Range Property Container Linux Parameter Tmpf - The container path, mount options, and size (in MiB) of the tmpfs mount.
- devices
List<Get
Job Definition Node Property Node Range Property Container Linux Parameter Device> - Any of the host devices to expose to the container.
- init
Process BooleanEnabled - If true, run an init process inside the container that forwards signals and reaps processes.
- max
Swap Integer - The total amount of swap memory (in MiB) a container can use.
- Integer
- The value for the size (in MiB) of the
/dev/shm
volume. - swappiness Integer
- You can use this parameter to tune a container's memory swappiness behavior.
- tmpfs
List<Get
Job Definition Node Property Node Range Property Container Linux Parameter Tmpf> - The container path, mount options, and size (in MiB) of the tmpfs mount.
- devices
Get
Job Definition Node Property Node Range Property Container Linux Parameter Device[] - Any of the host devices to expose to the container.
- init
Process booleanEnabled - If true, run an init process inside the container that forwards signals and reaps processes.
- max
Swap number - The total amount of swap memory (in MiB) a container can use.
- number
- The value for the size (in MiB) of the
/dev/shm
volume. - swappiness number
- You can use this parameter to tune a container's memory swappiness behavior.
- tmpfs
Get
Job Definition Node Property Node Range Property Container Linux Parameter Tmpf[] - The container path, mount options, and size (in MiB) of the tmpfs mount.
- devices
Sequence[Get
Job Definition Node Property Node Range Property Container Linux Parameter Device] - Any of the host devices to expose to the container.
- init_
process_ boolenabled - If true, run an init process inside the container that forwards signals and reaps processes.
- max_
swap int - The total amount of swap memory (in MiB) a container can use.
- int
- The value for the size (in MiB) of the
/dev/shm
volume. - swappiness int
- You can use this parameter to tune a container's memory swappiness behavior.
- tmpfs
Sequence[Get
Job Definition Node Property Node Range Property Container Linux Parameter Tmpf] - The container path, mount options, and size (in MiB) of the tmpfs mount.
- devices List<Property Map>
- Any of the host devices to expose to the container.
- init
Process BooleanEnabled - If true, run an init process inside the container that forwards signals and reaps processes.
- max
Swap Number - The total amount of swap memory (in MiB) a container can use.
- Number
- The value for the size (in MiB) of the
/dev/shm
volume. - swappiness Number
- You can use this parameter to tune a container's memory swappiness behavior.
- tmpfs List<Property Map>
- The container path, mount options, and size (in MiB) of the tmpfs mount.
GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice
- Container
Path string - The absolute file path in the container where the tmpfs volume is mounted.
- Host
Path string - The path for the device on the host container instance.
- Permissions List<string>
- The explicit permissions to provide to the container for the device.
- Container
Path string - The absolute file path in the container where the tmpfs volume is mounted.
- Host
Path string - The path for the device on the host container instance.
- Permissions []string
- The explicit permissions to provide to the container for the device.
- container
Path String - The absolute file path in the container where the tmpfs volume is mounted.
- host
Path String - The path for the device on the host container instance.
- permissions List<String>
- The explicit permissions to provide to the container for the device.
- container
Path string - The absolute file path in the container where the tmpfs volume is mounted.
- host
Path string - The path for the device on the host container instance.
- permissions string[]
- The explicit permissions to provide to the container for the device.
- container_
path str - The absolute file path in the container where the tmpfs volume is mounted.
- host_
path str - The path for the device on the host container instance.
- permissions Sequence[str]
- The explicit permissions to provide to the container for the device.
- container
Path String - The absolute file path in the container where the tmpfs volume is mounted.
- host
Path String - The path for the device on the host container instance.
- permissions List<String>
- The explicit permissions to provide to the container for the device.
GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf
- Container
Path string - The absolute file path in the container where the tmpfs volume is mounted.
- Mount
Options List<string> - The list of tmpfs volume mount options.
- Size int
- The size (in MiB) of the tmpfs volume.
- Container
Path string - The absolute file path in the container where the tmpfs volume is mounted.
- Mount
Options []string - The list of tmpfs volume mount options.
- Size int
- The size (in MiB) of the tmpfs volume.
- container
Path String - The absolute file path in the container where the tmpfs volume is mounted.
- mount
Options List<String> - The list of tmpfs volume mount options.
- size Integer
- The size (in MiB) of the tmpfs volume.
- container
Path string - The absolute file path in the container where the tmpfs volume is mounted.
- mount
Options string[] - The list of tmpfs volume mount options.
- size number
- The size (in MiB) of the tmpfs volume.
- container_
path str - The absolute file path in the container where the tmpfs volume is mounted.
- mount_
options Sequence[str] - The list of tmpfs volume mount options.
- size int
- The size (in MiB) of the tmpfs volume.
- container
Path String - The absolute file path in the container where the tmpfs volume is mounted.
- mount
Options List<String> - The list of tmpfs volume mount options.
- size Number
- The size (in MiB) of the tmpfs volume.
GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration
- Log
Driver string - The log driver to use for the container.
- Options Dictionary<string, string>
- The configuration options to send to the log driver.
- Secret
Options List<GetJob Definition Node Property Node Range Property Container Log Configuration Secret Option> - The secrets to pass to the log configuration.
- Log
Driver string - The log driver to use for the container.
- Options map[string]string
- The configuration options to send to the log driver.
- Secret
Options []GetJob Definition Node Property Node Range Property Container Log Configuration Secret Option - The secrets to pass to the log configuration.
- log
Driver String - The log driver to use for the container.
- options Map<String,String>
- The configuration options to send to the log driver.
- secret
Options List<GetJob Definition Node Property Node Range Property Container Log Configuration Secret Option> - The secrets to pass to the log configuration.
- log
Driver string - The log driver to use for the container.
- options {[key: string]: string}
- The configuration options to send to the log driver.
- secret
Options GetJob Definition Node Property Node Range Property Container Log Configuration Secret Option[] - The secrets to pass to the log configuration.
- log_
driver str - The log driver to use for the container.
- options Mapping[str, str]
- The configuration options to send to the log driver.
- secret_
options Sequence[GetJob Definition Node Property Node Range Property Container Log Configuration Secret Option] - The secrets to pass to the log configuration.
- log
Driver String - The log driver to use for the container.
- options Map<String>
- The configuration options to send to the log driver.
- secret
Options List<Property Map> - The secrets to pass to the log configuration.
GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Value
From string - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Value
From string - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- value
From String - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
- name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- value
From string - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
- name str
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- value_
from str - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- value
From String - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint
- Container
Path string - The absolute file path in the container where the tmpfs volume is mounted.
- Read
Only bool - If this value is true, the container has read-only access to the volume.
- Source
Volume string - The name of the volume to mount.
- Container
Path string - The absolute file path in the container where the tmpfs volume is mounted.
- Read
Only bool - If this value is true, the container has read-only access to the volume.
- Source
Volume string - The name of the volume to mount.
- container
Path String - The absolute file path in the container where the tmpfs volume is mounted.
- read
Only Boolean - If this value is true, the container has read-only access to the volume.
- source
Volume String - The name of the volume to mount.
- container
Path string - The absolute file path in the container where the tmpfs volume is mounted.
- read
Only boolean - If this value is true, the container has read-only access to the volume.
- source
Volume string - The name of the volume to mount.
- container_
path str - The absolute file path in the container where the tmpfs volume is mounted.
- read_
only bool - If this value is true, the container has read-only access to the volume.
- source_
volume str - The name of the volume to mount.
- container
Path String - The absolute file path in the container where the tmpfs volume is mounted.
- read
Only Boolean - If this value is true, the container has read-only access to the volume.
- source
Volume String - The name of the volume to mount.
GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration
- Assign
Public boolIp - Indicates whether the job has a public IP address.
- Assign
Public boolIp - Indicates whether the job has a public IP address.
- assign
Public BooleanIp - Indicates whether the job has a public IP address.
- assign
Public booleanIp - Indicates whether the job has a public IP address.
- assign_
public_ boolip - Indicates whether the job has a public IP address.
- assign
Public BooleanIp - Indicates whether the job has a public IP address.
GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement
GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform
- Cpu
Architecture string - The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64.
- Operating
System stringFamily - The operating system for the compute environment. V
- Cpu
Architecture string - The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64.
- Operating
System stringFamily - The operating system for the compute environment. V
- cpu
Architecture String - The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64.
- operating
System StringFamily - The operating system for the compute environment. V
- cpu
Architecture string - The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64.
- operating
System stringFamily - The operating system for the compute environment. V
- cpu_
architecture str - The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64.
- operating_
system_ strfamily - The operating system for the compute environment. V
- cpu
Architecture String - The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64.
- operating
System StringFamily - The operating system for the compute environment. V
GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Value
From string - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Value
From string - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- value
From String - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
- name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- value
From string - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
- name str
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- value_
from str - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- value
From String - The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit
- hard_
limit int - The hard limit for the ulimit type.
- name str
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- soft_
limit int - The soft limit for the ulimit type.
GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume
- Efs
Volume List<GetConfigurations Job Definition Node Property Node Range Property Container Volume Efs Volume Configuration> - This parameter is specified when you're using an Amazon Elastic File System file system for job storage.
- Hosts
List<Get
Job Definition Node Property Node Range Property Container Volume Host> - The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Efs
Volume []GetConfigurations Job Definition Node Property Node Range Property Container Volume Efs Volume Configuration - This parameter is specified when you're using an Amazon Elastic File System file system for job storage.
- Hosts
[]Get
Job Definition Node Property Node Range Property Container Volume Host - The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored.
- Name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- efs
Volume List<GetConfigurations Job Definition Node Property Node Range Property Container Volume Efs Volume Configuration> - This parameter is specified when you're using an Amazon Elastic File System file system for job storage.
- hosts
List<Get
Job Definition Node Property Node Range Property Container Volume Host> - The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- efs
Volume GetConfigurations Job Definition Node Property Node Range Property Container Volume Efs Volume Configuration[] - This parameter is specified when you're using an Amazon Elastic File System file system for job storage.
- hosts
Get
Job Definition Node Property Node Range Property Container Volume Host[] - The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored.
- name string
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- efs_
volume_ Sequence[Getconfigurations Job Definition Node Property Node Range Property Container Volume Efs Volume Configuration] - This parameter is specified when you're using an Amazon Elastic File System file system for job storage.
- hosts
Sequence[Get
Job Definition Node Property Node Range Property Container Volume Host] - The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored.
- name str
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- efs
Volume List<Property Map>Configurations - This parameter is specified when you're using an Amazon Elastic File System file system for job storage.
- hosts List<Property Map>
- The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored.
- name String
- The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration
- List<Get
Job Definition Node Property Node Range Property Container Volume Efs Volume Configuration Authorization Config> - The authorization configuration details for the Amazon EFS file system.
- File
System stringId - The Amazon EFS file system ID to use.
- Root
Directory string - The directory within the Amazon EFS file system to mount as the root directory inside the host.
- Transit
Encryption string - Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server
- Transit
Encryption intPort - The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.
- []Get
Job Definition Node Property Node Range Property Container Volume Efs Volume Configuration Authorization Config - The authorization configuration details for the Amazon EFS file system.
- File
System stringId - The Amazon EFS file system ID to use.
- Root
Directory string - The directory within the Amazon EFS file system to mount as the root directory inside the host.
- Transit
Encryption string - Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server
- Transit
Encryption intPort - The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.
- List<Get
Job Definition Node Property Node Range Property Container Volume Efs Volume Configuration Authorization Config> - The authorization configuration details for the Amazon EFS file system.
- file
System StringId - The Amazon EFS file system ID to use.
- root
Directory String - The directory within the Amazon EFS file system to mount as the root directory inside the host.
- transit
Encryption String - Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server
- transit
Encryption IntegerPort - The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.
- Get
Job Definition Node Property Node Range Property Container Volume Efs Volume Configuration Authorization Config[] - The authorization configuration details for the Amazon EFS file system.
- file
System stringId - The Amazon EFS file system ID to use.
- root
Directory string - The directory within the Amazon EFS file system to mount as the root directory inside the host.
- transit
Encryption string - Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server
- transit
Encryption numberPort - The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.
- Sequence[Get
Job Definition Node Property Node Range Property Container Volume Efs Volume Configuration Authorization Config] - The authorization configuration details for the Amazon EFS file system.
- file_
system_ strid - The Amazon EFS file system ID to use.
- root_
directory str - The directory within the Amazon EFS file system to mount as the root directory inside the host.
- transit_
encryption str - Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server
- transit_
encryption_ intport - The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.
- List<Property Map>
- The authorization configuration details for the Amazon EFS file system.
- file
System StringId - The Amazon EFS file system ID to use.
- root
Directory String - The directory within the Amazon EFS file system to mount as the root directory inside the host.
- transit
Encryption String - Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server
- transit
Encryption NumberPort - The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.
GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig
- Access
Point stringId - The Amazon EFS access point ID to use.
- Iam string
- Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.
- Access
Point stringId - The Amazon EFS access point ID to use.
- Iam string
- Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.
- access
Point StringId - The Amazon EFS access point ID to use.
- iam String
- Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.
- access
Point stringId - The Amazon EFS access point ID to use.
- iam string
- Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.
- access_
point_ strid - The Amazon EFS access point ID to use.
- iam str
- Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.
- access
Point StringId - The Amazon EFS access point ID to use.
- iam String
- Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.
GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost
- Source
Path string - The path on the host container instance that's presented to the container.
- Source
Path string - The path on the host container instance that's presented to the container.
- source
Path String - The path on the host container instance that's presented to the container.
- source
Path string - The path on the host container instance that's presented to the container.
- source_
path str - The path on the host container instance that's presented to the container.
- source
Path String - The path on the host container instance that's presented to the container.
GetJobDefinitionRetryStrategy
- Attempts int
- The number of times to move a job to the RUNNABLE status.
- Evaluate
On List<GetExits Job Definition Retry Strategy Evaluate On Exit> - Array of up to 5 objects that specify the conditions where jobs are retried or failed.
- Attempts int
- The number of times to move a job to the RUNNABLE status.
- Evaluate
On []GetExits Job Definition Retry Strategy Evaluate On Exit - Array of up to 5 objects that specify the conditions where jobs are retried or failed.
- attempts Integer
- The number of times to move a job to the RUNNABLE status.
- evaluate
On List<GetExits Job Definition Retry Strategy Evaluate On Exit> - Array of up to 5 objects that specify the conditions where jobs are retried or failed.
- attempts number
- The number of times to move a job to the RUNNABLE status.
- evaluate
On GetExits Job Definition Retry Strategy Evaluate On Exit[] - Array of up to 5 objects that specify the conditions where jobs are retried or failed.
- attempts int
- The number of times to move a job to the RUNNABLE status.
- evaluate_
on_ Sequence[Getexits Job Definition Retry Strategy Evaluate On Exit] - Array of up to 5 objects that specify the conditions where jobs are retried or failed.
- attempts Number
- The number of times to move a job to the RUNNABLE status.
- evaluate
On List<Property Map>Exits - Array of up to 5 objects that specify the conditions where jobs are retried or failed.
GetJobDefinitionRetryStrategyEvaluateOnExit
- Action string
- Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive.
- On
Exit stringCode - Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job.
- On
Reason string - Contains a glob pattern to match against the Reason returned for a job.
- On
Status stringReason - Contains a glob pattern to match against the StatusReason returned for a job.
- Action string
- Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive.
- On
Exit stringCode - Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job.
- On
Reason string - Contains a glob pattern to match against the Reason returned for a job.
- On
Status stringReason - Contains a glob pattern to match against the StatusReason returned for a job.
- action String
- Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive.
- on
Exit StringCode - Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job.
- on
Reason String - Contains a glob pattern to match against the Reason returned for a job.
- on
Status StringReason - Contains a glob pattern to match against the StatusReason returned for a job.
- action string
- Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive.
- on
Exit stringCode - Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job.
- on
Reason string - Contains a glob pattern to match against the Reason returned for a job.
- on
Status stringReason - Contains a glob pattern to match against the StatusReason returned for a job.
- action str
- Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive.
- on_
exit_ strcode - Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job.
- on_
reason str - Contains a glob pattern to match against the Reason returned for a job.
- on_
status_ strreason - Contains a glob pattern to match against the StatusReason returned for a job.
- action String
- Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive.
- on
Exit StringCode - Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job.
- on
Reason String - Contains a glob pattern to match against the Reason returned for a job.
- on
Status StringReason - Contains a glob pattern to match against the StatusReason returned for a job.
GetJobDefinitionTimeout
- Attempt
Duration intSeconds - The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.
- Attempt
Duration intSeconds - The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.
- attempt
Duration IntegerSeconds - The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.
- attempt
Duration numberSeconds - The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.
- attempt_
duration_ intseconds - The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.
- attempt
Duration NumberSeconds - The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.