JobQueueComputeEnvironment

class aws_cdk.aws_batch.JobQueueComputeEnvironment(*, compute_environment, order)

Bases: object

(experimental) Properties for mapping a compute environment to a job queue.

Parameters:
  • compute_environment (IComputeEnvironment) – (experimental) The batch compute environment to use for processing submitted jobs to this queue.

  • order (Union[int, float]) – (experimental) The order in which this compute environment will be selected for dynamic allocation of resources to process submitted jobs.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_batch as batch

# compute_environment: batch.ComputeEnvironment

job_queue_compute_environment = batch.JobQueueComputeEnvironment(
    compute_environment=compute_environment,
    order=123
)

Attributes

compute_environment

(experimental) The batch compute environment to use for processing submitted jobs to this queue.

Stability:

experimental

order

(experimental) The order in which this compute environment will be selected for dynamic allocation of resources to process submitted jobs.

Stability:

experimental