interface OrderedComputeEnvironment
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Batch.OrderedComputeEnvironment |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#OrderedComputeEnvironment |
Java | software.amazon.awscdk.services.batch.OrderedComputeEnvironment |
Python | aws_cdk.aws_batch.OrderedComputeEnvironment |
TypeScript (source) | aws-cdk-lib » aws_batch » OrderedComputeEnvironment |
Assigns an order to a ComputeEnvironment.
The JobQueue will prioritize the lowest-order ComputeEnvironment.
Example
// 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';
declare const computeEnvironment: batch.IComputeEnvironment;
const orderedComputeEnvironment: batch.OrderedComputeEnvironment = {
computeEnvironment: computeEnvironment,
order: 123,
};
Properties
Name | Type | Description |
---|---|---|
compute | ICompute | The ComputeEnvironment to link to this JobQueue. |
order | number | The order associated with computeEnvironment . |
computeEnvironment
Type:
ICompute
The ComputeEnvironment to link to this JobQueue.
order
Type:
number
The order associated with computeEnvironment
.