Skip to content
v2.274.0

ServiceEnvironmentOrderProperty Struct ​

Specifies the order of a service environment for a job queue.

This determines the priority order when multiple service environments are associated with the same job queue.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const serviceEnvironmentOrderProperty: batch.CfnJobQueue.ServiceEnvironmentOrderProperty = {
  order: 123,
  serviceEnvironment: 'serviceEnvironment',
};

Properties ​

ordernumberorderint | floatorderNumberOrderdoubleOrder*float64required#
The order of the service environment.

Job queues with a higher priority are evaluated first when associated with the same service environment.

serviceEnvironmentstringservice_environmentstrserviceEnvironmentStringServiceEnvironmentstringServiceEnvironment*stringrequired#
The name or ARN of the service environment.