@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:43.430Z") @Stability(value=Experimental) public class JobQueue extends Resource implements IJobQueue
Defines a batch job queue to define how submitted batch jobs should be ran based on specified batch compute environments.
Example:
ComputeEnvironment sharedComputeEnvs;
JobQueue highPrioQueue = JobQueue.Builder.create(this, "JobQueue")
.computeEnvironments(List.of(JobQueueComputeEnvironment.builder()
.computeEnvironment(sharedComputeEnvs)
.order(1)
.build()))
.priority(2)
.build();
JobQueue lowPrioQueue = JobQueue.Builder.create(this, "JobQueue")
.computeEnvironments(List.of(JobQueueComputeEnvironment.builder()
.computeEnvironment(sharedComputeEnvs)
.order(1)
.build()))
.priority(1)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
JobQueue.Builder
(experimental) A fluent builder for
JobQueue. |
software.amazon.jsii.JsiiObject.InitializationModeIJobQueue.Jsii$Default, IJobQueue.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
JobQueue(software.constructs.Construct scope,
String id,
JobQueueProps props) |
protected |
JobQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
JobQueue(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IJobQueue |
fromJobQueueArn(software.constructs.Construct scope,
String id,
String jobQueueArn)
(experimental) Fetches an existing batch job queue by its amazon resource name.
|
String |
getJobQueueArn()
(experimental) The ARN of this batch job queue.
|
String |
getJobQueueName()
(experimental) A name for the job queue.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected JobQueue(software.amazon.jsii.JsiiObjectRef objRef)
protected JobQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public JobQueue(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
JobQueueProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IJobQueue fromJobQueueArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String jobQueueArn)
scope - This parameter is required.id - This parameter is required.jobQueueArn - This parameter is required.@Stability(value=Experimental) @NotNull public String getJobQueueArn()
getJobQueueArn in interface IJobQueue@Stability(value=Experimental) @NotNull public String getJobQueueName()
Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
getJobQueueName in interface IJobQueueCopyright © 2022. All rights reserved.