Class JobQueue
(experimental) Batch Job Queue.
Inherited Members
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.AWS.Batch.dll
Syntax (csharp)
public class JobQueue : Resource, IJobQueue, IResource, IConstruct, IDependable
Syntax (vb)
Public Class JobQueue
Inherits Resource
Implements IJobQueue, IResource, IConstruct, IDependable
Remarks
Defines a batch job queue to define how submitted batch jobs should be ran based on specified batch compute environments.
Stability: Experimental
ExampleMetadata: infused
Examples
ComputeEnvironment sharedComputeEnvs;
var highPrioQueue = new JobQueue(this, "JobQueue", new JobQueueProps {
ComputeEnvironments = new [] { new JobQueueComputeEnvironment {
ComputeEnvironment = sharedComputeEnvs,
Order = 1
} },
Priority = 2
});
var lowPrioQueue = new JobQueue(this, "JobQueue", new JobQueueProps {
ComputeEnvironments = new [] { new JobQueueComputeEnvironment {
ComputeEnvironment = sharedComputeEnvs,
Order = 1
} },
Priority = 1
});
Synopsis
Constructors
JobQueue(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
JobQueue(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
JobQueue(Construct, String, IJobQueueProps) |
Properties
JobQueueArn | (experimental) The ARN of this batch job queue. |
JobQueueName | (experimental) A name for the job queue. |
Methods
FromJobQueueArn(Construct, String, String) | (experimental) Fetches an existing batch job queue by its amazon resource name. |
Constructors
JobQueue(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected JobQueue(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
JobQueue(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected JobQueue(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
JobQueue(Construct, String, IJobQueueProps)
public JobQueue(Construct scope, string id, IJobQueueProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IJobQueueProps
Remarks
Stability: Experimental
Properties
JobQueueArn
(experimental) The ARN of this batch job queue.
public virtual string JobQueueArn { get; }
Property Value
System.String
Remarks
Stability: Experimental
JobQueueName
(experimental) A name for the job queue.
public virtual string JobQueueName { get; }
Property Value
System.String
Remarks
Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
Stability: Experimental
Methods
FromJobQueueArn(Construct, String, String)
(experimental) Fetches an existing batch job queue by its amazon resource name.
public static IJobQueue FromJobQueueArn(Construct scope, string id, string jobQueueArn)
Parameters
- scope Constructs.Construct
- id System.String
- jobQueueArn System.String
Returns
Remarks
Stability: Experimental