Show / Hide Table of Contents

Interface CfnJobQueue.IComputeEnvironmentOrderProperty

The order that compute environments are tried in for job placement within a queue.

Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnJobQueue.IComputeEnvironmentOrderProperty
Syntax (vb)
Public Interface CfnJobQueue.IComputeEnvironmentOrderProperty
Remarks

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. Compute environments must be in the VALID state before you can associate them with a job queue. All of the compute environments must be either EC2 ( EC2 or SPOT ) or Fargate ( FARGATE or FARGATE_SPOT ); Amazon EC2 and Fargate compute environments can't be mixed.

All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobqueue-computeenvironmentorder.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Batch;

             var computeEnvironmentOrderProperty = new ComputeEnvironmentOrderProperty {
                 ComputeEnvironment = "computeEnvironment",
                 Order = 123
             };

Synopsis

Properties

ComputeEnvironment

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

Order

The order of the compute environment.

Properties

ComputeEnvironment

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

string ComputeEnvironment { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobqueue-computeenvironmentorder.html#cfn-batch-jobqueue-computeenvironmentorder-computeenvironment

Order

The order of the compute environment.

double Order { get; }
Property Value

double

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobqueue-computeenvironmentorder.html#cfn-batch-jobqueue-computeenvironmentorder-order

Back to top Generated by DocFX