Class CfnQueue
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.deadline.CfnQueue
- All Implemented Interfaces:
IInspectable,IQueueRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:18.182Z")
@Stability(Stable)
public class CfnQueue
extends CfnResource
implements IInspectable, IQueueRef, ITaggableV2
Creates a queue to coordinate the order in which jobs run on a farm.
A queue can also specify where to pull resources and indicate where to output completed jobs.
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.deadline.*;
CfnQueue cfnQueue = CfnQueue.Builder.create(this, "MyCfnQueue")
.displayName("displayName")
.farmId("farmId")
// the properties below are optional
.allowedStorageProfileIds(List.of("allowedStorageProfileIds"))
.defaultBudgetAction("defaultBudgetAction")
.description("description")
.jobAttachmentSettings(JobAttachmentSettingsProperty.builder()
.rootPrefix("rootPrefix")
.s3BucketName("s3BucketName")
.build())
.jobRunAsUser(JobRunAsUserProperty.builder()
.runAs("runAs")
// the properties below are optional
.posix(PosixUserProperty.builder()
.group("group")
.user("user")
.build())
.windows(WindowsUserProperty.builder()
.passwordArn("passwordArn")
.user("user")
.build())
.build())
.requiredFileSystemLocationNames(List.of("requiredFileSystemLocationNames"))
.roleArn("roleArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnQueue.static interfaceThe job attachment settings.static interfaceIdentifies the user for a job.static interfaceThe POSIX user.static interfaceThe Windows user details.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.deadline.IQueueRef
IQueueRef.Jsii$Default, IQueueRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnQueue(software.amazon.jsii.JsiiObjectRef objRef) CfnQueue(software.constructs.Construct scope, String id, CfnQueueProps props) Create a newAWS::Deadline::Queue. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForQueue(IQueueRef resource) The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems.The Amazon Resource Name (ARN) of the queue.The queue ID.Tag Manager which manages the tags for this resource.The default action taken on a queue summary if a budget wasn't configured.A description of the queue that helps identify what the queue is used for.The display name of the queue summary to update.The farm ID.The job attachment settings.Identifies the user for a job.A reference to a Queue resource.The file system location that the queue uses.The Amazon Resource Name (ARN) of the IAM role that workers use when running jobs in this queue.getTags()The tags to add to your queue.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanisCfnQueue(Object x) Checks whether the given object is a CfnQueue.renderProperties(Map<String, Object> props) voidsetAllowedStorageProfileIds(List<String> value) The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems.voidsetDefaultBudgetAction(String value) The default action taken on a queue summary if a budget wasn't configured.voidsetDescription(String value) A description of the queue that helps identify what the queue is used for.voidsetDisplayName(String value) The display name of the queue summary to update.voidThe farm ID.voidThe job attachment settings.voidThe job attachment settings.voidsetJobRunAsUser(IResolvable value) Identifies the user for a job.voidIdentifies the user for a job.voidThe file system location that the queue uses.voidsetRoleArn(String value) The Amazon Resource Name (ARN) of the IAM role that workers use when running jobs in this queue.voidThe tags to add to your queue.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnQueue
protected CfnQueue(software.amazon.jsii.JsiiObjectRef objRef) -
CfnQueue
protected CfnQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnQueue
@Stability(Stable) public CfnQueue(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnQueueProps props) Create a newAWS::Deadline::Queue.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForQueue
- Parameters:
resource- This parameter is required.
-
isCfnQueue
Checks whether the given object is a CfnQueue.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the queue. -
getAttrQueueId
The queue ID. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getQueueRef
A reference to a Queue resource.- Specified by:
getQueueRefin interfaceIQueueRef
-
getDisplayName
The display name of the queue summary to update. -
setDisplayName
The display name of the queue summary to update. -
getFarmId
The farm ID. -
setFarmId
The farm ID. -
getAllowedStorageProfileIds
The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems. -
setAllowedStorageProfileIds
The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems. -
getDefaultBudgetAction
The default action taken on a queue summary if a budget wasn't configured. -
setDefaultBudgetAction
The default action taken on a queue summary if a budget wasn't configured. -
getDescription
A description of the queue that helps identify what the queue is used for. -
setDescription
A description of the queue that helps identify what the queue is used for. -
getJobAttachmentSettings
The job attachment settings.Returns union: either
IResolvableorCfnQueue.JobAttachmentSettingsProperty -
setJobAttachmentSettings
The job attachment settings. -
setJobAttachmentSettings
@Stability(Stable) public void setJobAttachmentSettings(@Nullable CfnQueue.JobAttachmentSettingsProperty value) The job attachment settings. -
getJobRunAsUser
Identifies the user for a job.Returns union: either
IResolvableorCfnQueue.JobRunAsUserProperty -
setJobRunAsUser
Identifies the user for a job. -
setJobRunAsUser
Identifies the user for a job. -
getRequiredFileSystemLocationNames
The file system location that the queue uses. -
setRequiredFileSystemLocationNames
The file system location that the queue uses. -
getRoleArn
The Amazon Resource Name (ARN) of the IAM role that workers use when running jobs in this queue. -
setRoleArn
The Amazon Resource Name (ARN) of the IAM role that workers use when running jobs in this queue. -
getTags
The tags to add to your queue. -
setTags
The tags to add to your queue.
-