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
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:50:55.698Z")
@Stability(Stable)
public class CfnQueue
extends CfnResource
implements IInspectable, 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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnQueue
.static interface
The job attachment settings.static interface
Identifies the user for a job.static interface
The POSIX user.static interface
The Windows user details.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnQueue
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnQueue
(software.amazon.jsii.JsiiObjectRef objRef) CfnQueue
(software.constructs.Construct scope, String id, CfnQueueProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe 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.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAllowedStorageProfileIds
(List<String> value) The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems.void
setDefaultBudgetAction
(String value) The default action taken on a queue summary if a budget wasn't configured.void
setDescription
(String value) A description of the queue that helps identify what the queue is used for.void
setDisplayName
(String value) The display name of the queue summary to update.void
The farm ID.void
The job attachment settings.void
The job attachment settings.void
setJobRunAsUser
(IResolvable value) Identifies the user for a job.void
Identifies the user for a job.void
The file system location that the queue uses.void
setRoleArn
(String value) The Amazon Resource Name (ARN) of the IAM role that workers use when running jobs in this queue.void
The 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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in 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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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. -
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. -
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.
-