You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Batch::Types::ComputeEnvironmentOrder

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

Overview

Note:

When making an API call, you may pass ComputeEnvironmentOrder data as a hash:

{
  order: 1, # required
  compute_environment: "String", # required
}

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.

Instance Attribute Summary collapse

Instance Attribute Details

#compute_environmentString

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

Returns:

  • (String)


198
199
200
201
202
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 198

class ComputeEnvironmentOrder < Struct.new(
  :order,
  :compute_environment)
  include Aws::Structure
end

#orderInteger

The order of the compute environment.

Returns:

  • (Integer)


198
199
200
201
202
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 198

class ComputeEnvironmentOrder < Struct.new(
  :order,
  :compute_environment)
  include Aws::Structure
end