@aws-cdk_aws-batch-alpha.OrderedComputeEnvironment
interface OrderedComputeEnvironment
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Batch.Alpha.OrderedComputeEnvironment |
![]() | github.com/aws/aws-cdk-go/awscdkbatchalpha/v2#OrderedComputeEnvironment |
![]() | software.amazon.awscdk.services.batch.alpha.OrderedComputeEnvironment |
![]() | aws_cdk.aws_batch_alpha.OrderedComputeEnvironment |
![]() | @aws-cdk/aws-batch-alpha ยป 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 * as batch_alpha from '@aws-cdk/aws-batch-alpha';
declare const computeEnvironment: batch_alpha.IComputeEnvironment;
const orderedComputeEnvironment: batch_alpha.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
.