@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:03.575Z") @Stability(value=Stable) public class CfnJobQueue extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;
Object tags;
CfnJobQueue cfnJobQueue = CfnJobQueue.Builder.create(this, "MyCfnJobQueue")
.computeEnvironmentOrder(List.of(ComputeEnvironmentOrderProperty.builder()
.computeEnvironment("computeEnvironment")
.order(123)
.build()))
.priority(123)
// the properties below are optional
.jobQueueName("jobQueueName")
.schedulingPolicyArn("schedulingPolicyArn")
.state("state")
.tags(tags)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnJobQueue.Builder
A fluent builder for
CfnJobQueue. |
static interface |
CfnJobQueue.ComputeEnvironmentOrderProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnJobQueue(Construct scope,
String id,
CfnJobQueueProps props)
Create a new `AWS::Batch::JobQueue`.
|
protected |
CfnJobQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnJobQueue(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
Object |
getComputeEnvironmentOrder()
`AWS::Batch::JobQueue.ComputeEnvironmentOrder`.
|
String |
getJobQueueName()
`AWS::Batch::JobQueue.JobQueueName`.
|
Number |
getPriority()
`AWS::Batch::JobQueue.Priority`.
|
String |
getSchedulingPolicyArn()
`AWS::Batch::JobQueue.SchedulingPolicyArn`.
|
String |
getState()
`AWS::Batch::JobQueue.State`.
|
TagManager |
getTags()
`AWS::Batch::JobQueue.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setComputeEnvironmentOrder(IResolvable value)
`AWS::Batch::JobQueue.ComputeEnvironmentOrder`.
|
void |
setComputeEnvironmentOrder(List<Object> value)
`AWS::Batch::JobQueue.ComputeEnvironmentOrder`.
|
void |
setJobQueueName(String value)
`AWS::Batch::JobQueue.JobQueueName`.
|
void |
setPriority(Number value)
`AWS::Batch::JobQueue.Priority`.
|
void |
setSchedulingPolicyArn(String value)
`AWS::Batch::JobQueue.SchedulingPolicyArn`.
|
void |
setState(String value)
`AWS::Batch::JobQueue.State`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnJobQueue(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnJobQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnJobQueue(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnJobQueueProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Object getComputeEnvironmentOrder()
@Stability(value=Stable)
public void setComputeEnvironmentOrder(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setComputeEnvironmentOrder(@NotNull
List<Object> value)
@Stability(value=Stable) @NotNull public Number getPriority()
@Stability(value=Stable)
public void setPriority(@NotNull
Number value)
@Stability(value=Stable) @Nullable public String getJobQueueName()
@Stability(value=Stable)
public void setJobQueueName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getSchedulingPolicyArn()
@Stability(value=Stable)
public void setSchedulingPolicyArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getState()
@Stability(value=Stable)
public void setState(@Nullable
String value)
Copyright © 2022. All rights reserved.