1. Packages
  2. AWS Native
  3. API Docs
  4. batch
  5. JobQueue

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.batch.JobQueue

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    Resource Type definition for AWS::Batch::JobQueue

    Create JobQueue Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new JobQueue(name: string, args: JobQueueArgs, opts?: CustomResourceOptions);
    @overload
    def JobQueue(resource_name: str,
                 args: JobQueueArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def JobQueue(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 compute_environment_order: Optional[Sequence[JobQueueComputeEnvironmentOrderArgs]] = None,
                 priority: Optional[int] = None,
                 job_queue_name: Optional[str] = None,
                 job_state_time_limit_actions: Optional[Sequence[JobQueueJobStateTimeLimitActionArgs]] = None,
                 scheduling_policy_arn: Optional[str] = None,
                 state: Optional[JobQueueState] = None,
                 tags: Optional[Mapping[str, str]] = None)
    func NewJobQueue(ctx *Context, name string, args JobQueueArgs, opts ...ResourceOption) (*JobQueue, error)
    public JobQueue(string name, JobQueueArgs args, CustomResourceOptions? opts = null)
    public JobQueue(String name, JobQueueArgs args)
    public JobQueue(String name, JobQueueArgs args, CustomResourceOptions options)
    
    type: aws-native:batch:JobQueue
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args JobQueueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args JobQueueArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args JobQueueArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args JobQueueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args JobQueueArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const jobQueueResource = new aws_native.batch.JobQueue("jobQueueResource", {
        computeEnvironmentOrder: [{
            computeEnvironment: "string",
            order: 0,
        }],
        priority: 0,
        jobQueueName: "string",
        jobStateTimeLimitActions: [{
            action: aws_native.batch.JobQueueJobStateTimeLimitActionAction.Cancel,
            maxTimeSeconds: 0,
            reason: "string",
            state: aws_native.batch.JobQueueJobStateTimeLimitActionState.Runnable,
        }],
        schedulingPolicyArn: "string",
        state: aws_native.batch.JobQueueState.Disabled,
        tags: {
            string: "string",
        },
    });
    
    Coming soon!
    

    JobQueue Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The JobQueue resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the JobQueue resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    JobQueueArn string
    Id string
    The provider-assigned unique ID for this managed resource.
    JobQueueArn string
    id String
    The provider-assigned unique ID for this managed resource.
    jobQueueArn String
    id string
    The provider-assigned unique ID for this managed resource.
    jobQueueArn string
    id str
    The provider-assigned unique ID for this managed resource.
    job_queue_arn str
    id String
    The provider-assigned unique ID for this managed resource.
    jobQueueArn String

    Supporting Types

    JobQueueComputeEnvironmentOrder, JobQueueComputeEnvironmentOrderArgs

    JobQueueJobStateTimeLimitAction, JobQueueJobStateTimeLimitActionArgs

    JobQueueJobStateTimeLimitActionAction, JobQueueJobStateTimeLimitActionActionArgs

    Cancel
    CANCEL
    JobQueueJobStateTimeLimitActionActionCancel
    CANCEL
    Cancel
    CANCEL
    Cancel
    CANCEL
    CANCEL
    CANCEL
    "CANCEL"
    CANCEL

    JobQueueJobStateTimeLimitActionState, JobQueueJobStateTimeLimitActionStateArgs

    Runnable
    RUNNABLE
    JobQueueJobStateTimeLimitActionStateRunnable
    RUNNABLE
    Runnable
    RUNNABLE
    Runnable
    RUNNABLE
    RUNNABLE
    RUNNABLE
    "RUNNABLE"
    RUNNABLE

    JobQueueState, JobQueueStateArgs

    Disabled
    DISABLED
    Enabled
    ENABLED
    JobQueueStateDisabled
    DISABLED
    JobQueueStateEnabled
    ENABLED
    Disabled
    DISABLED
    Enabled
    ENABLED
    Disabled
    DISABLED
    Enabled
    ENABLED
    DISABLED
    DISABLED
    ENABLED
    ENABLED
    "DISABLED"
    DISABLED
    "ENABLED"
    ENABLED

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi