CfnQueueProps Struct
Properties for defining a CfnQueue.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_deadline as deadline } from 'aws-cdk-lib';
declare const alwaysScheduleFirst: any;
declare const alwaysScheduleLast: any;
declare const priorityFifo: any;
const cfnQueueProps: deadline.CfnQueueProps = {
displayName: 'displayName',
farmId: 'farmId',
// the properties below are optional
allowedStorageProfileIds: ['allowedStorageProfileIds'],
defaultBudgetAction: 'defaultBudgetAction',
description: 'description',
jobAttachmentSettings: {
rootPrefix: 'rootPrefix',
s3BucketName: 's3BucketName',
},
jobRunAsUser: {
runAs: 'runAs',
// the properties below are optional
posix: {
group: 'group',
user: 'user',
},
windows: {
passwordArn: 'passwordArn',
user: 'user',
},
},
requiredFileSystemLocationNames: ['requiredFileSystemLocationNames'],
roleArn: 'roleArn',
schedulingConfiguration: {
priorityBalanced: {
renderingTaskBuffer: 123,
},
priorityFifo: priorityFifo,
weightedBalanced: {
errorWeight: 123,
maxPriorityOverride: {
alwaysScheduleFirst: alwaysScheduleFirst,
},
minPriorityOverride: {
alwaysScheduleLast: alwaysScheduleLast,
},
priorityWeight: 123,
renderingTaskBuffer: 123,
renderingTaskWeight: 123,
submissionTimeWeight: 123,
},
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
allowedStorageProfileIdsstring[]allowed_storage_profile_idstyping.List[str]allowedStorageProfileIdsList<String>AllowedStorageProfileIdsstring[]AllowedStorageProfileIds*[]*string#The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems.
defaultBudgetActionstringdefault_budget_actionstrdefaultBudgetActionStringDefaultBudgetActionstringDefaultBudgetAction*string= "NONE"#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.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
The display name of the queue summary to update.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
The farm ID.
jobAttachmentSettingsIResolvable | CfnQueue.JobAttachmentSettingsPropertyjob_attachment_settingstyping.Union[IResolvable, JobAttachmentSettingsProperty]jobAttachmentSettingsIResolvableJobAttachmentSettingsIResolvableJobAttachmentSettingsinterface{}#The job attachment settings.
These are the Amazon S3 bucket name and the Amazon S3 prefix.
jobRunAsUserIResolvable | CfnQueue.JobRunAsUserPropertyjob_run_as_usertyping.Union[IResolvable, JobRunAsUserProperty]jobRunAsUserIResolvableJobRunAsUserIResolvableJobRunAsUserinterface{}#Identifies the user for a job.
requiredFileSystemLocationNamesstring[]required_file_system_location_namestyping.List[str]requiredFileSystemLocationNamesList<String>RequiredFileSystemLocationNamesstring[]RequiredFileSystemLocationNames*[]*string#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.
schedulingConfigurationIResolvable | CfnQueue.SchedulingConfigurationPropertyscheduling_configurationtyping.Union[IResolvable, SchedulingConfigurationProperty]schedulingConfigurationIResolvableSchedulingConfigurationIResolvableSchedulingConfigurationinterface{}#