AWS CloudFormation
User Guide (Version )

AWS::Batch::JobQueue ComputeEnvironmentOrder

The order in which compute environments are tried for job placement within a queue. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "ComputeEnvironment" : String, "Order" : Integer }

YAML

ComputeEnvironment: String Order: Integer

Properties

ComputeEnvironment

The Amazon Resource Name (ARN) of the compute environment.

Required: Yes

Type: String

Update requires: No interruption

Order

The order of the compute environment.

Required: Yes

Type: Integer

Update requires: No interruption

On this page: