AWS Native is in preview. AWS Classic is fully supported.
aws-native.batch.JobQueue
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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:
- Compute
Environment List<Pulumi.Order Aws Native. Batch. Inputs. Job Queue Compute Environment Order> - Priority int
- Job
Queue stringName - Job
State List<Pulumi.Time Limit Actions Aws Native. Batch. Inputs. Job Queue Job State Time Limit Action> - Scheduling
Policy stringArn - State
Pulumi.
Aws Native. Batch. Job Queue State - Dictionary<string, string>
- A key-value pair to associate with a resource.
- Compute
Environment []JobOrder Queue Compute Environment Order Args - Priority int
- Job
Queue stringName - Job
State []JobTime Limit Actions Queue Job State Time Limit Action Args - Scheduling
Policy stringArn - State
Job
Queue State Enum - map[string]string
- A key-value pair to associate with a resource.
- compute
Environment List<JobOrder Queue Compute Environment Order> - priority Integer
- job
Queue StringName - job
State List<JobTime Limit Actions Queue Job State Time Limit Action> - scheduling
Policy StringArn - state
Job
Queue State - Map<String,String>
- A key-value pair to associate with a resource.
- compute
Environment JobOrder Queue Compute Environment Order[] - priority number
- job
Queue stringName - job
State JobTime Limit Actions Queue Job State Time Limit Action[] - scheduling
Policy stringArn - state
Job
Queue State - {[key: string]: string}
- A key-value pair to associate with a resource.
- compute_
environment_ Sequence[Joborder Queue Compute Environment Order Args] - priority int
- job_
queue_ strname - job_
state_ Sequence[Jobtime_ limit_ actions Queue Job State Time Limit Action Args] - scheduling_
policy_ strarn - state
Job
Queue State - Mapping[str, str]
- A key-value pair to associate with a resource.
- compute
Environment List<Property Map>Order - priority Number
- job
Queue StringName - job
State List<Property Map>Time Limit Actions - scheduling
Policy StringArn - state "DISABLED" | "ENABLED"
- Map<String>
- A key-value pair to associate with a resource.
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.
- Job
Queue stringArn
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Queue stringArn
- id String
- The provider-assigned unique ID for this managed resource.
- job
Queue StringArn
- id string
- The provider-assigned unique ID for this managed resource.
- job
Queue stringArn
- id str
- The provider-assigned unique ID for this managed resource.
- job_
queue_ strarn
- id String
- The provider-assigned unique ID for this managed resource.
- job
Queue StringArn
Supporting Types
JobQueueComputeEnvironmentOrder, JobQueueComputeEnvironmentOrderArgs
- Compute
Environment string - Order int
- Compute
Environment string - Order int
- compute
Environment String - order Integer
- compute
Environment string - order number
- compute_
environment str - order int
- compute
Environment String - order Number
JobQueueJobStateTimeLimitAction, JobQueueJobStateTimeLimitActionArgs
- action "CANCEL"
- max
Time NumberSeconds - reason String
- state "RUNNABLE"
JobQueueJobStateTimeLimitActionAction, JobQueueJobStateTimeLimitActionActionArgs
- Cancel
- CANCEL
- Job
Queue Job State Time Limit Action Action Cancel - CANCEL
- Cancel
- CANCEL
- Cancel
- CANCEL
- CANCEL
- CANCEL
- "CANCEL"
- CANCEL
JobQueueJobStateTimeLimitActionState, JobQueueJobStateTimeLimitActionStateArgs
- Runnable
- RUNNABLE
- Job
Queue Job State Time Limit Action State Runnable - RUNNABLE
- Runnable
- RUNNABLE
- Runnable
- RUNNABLE
- RUNNABLE
- RUNNABLE
- "RUNNABLE"
- RUNNABLE
JobQueueState, JobQueueStateArgs
- Disabled
- DISABLED
- Enabled
- ENABLED
- Job
Queue State Disabled - DISABLED
- Job
Queue State Enabled - 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 is in preview. AWS Classic is fully supported.