Skip to content
GitHubXDiscordRSS

Queue

Learn how to create, update, and manage AWS Deadline Queues using Alchemy Cloud Control.

The Queue resource allows you to manage AWS Deadline Queues which are used for job management in the AWS Deadline environment.

Create a basic Deadline Queue with required properties and one optional property.

import AWS from "alchemy/aws/control";
const basicQueue = await AWS.Deadline.Queue("basicQueue", {
DisplayName: "Basic Render Queue",
FarmId: "renderFarmId",
JobRunAsUser: "defaultUser"
});

Configure a Deadline Queue with several optional properties for more control over job management.

const advancedQueue = await AWS.Deadline.Queue("advancedQueue", {
DisplayName: "Advanced Render Queue",
FarmId: "advancedFarmId",
AllowedStorageProfileIds: ["storageProfile1", "storageProfile2"],
Description: "This queue handles high-priority rendering jobs.",
RoleArn: "arn:aws:iam::123456789012:role/DeadlineRole",
Tags: [
{ Key: "Environment", Value: "Production" },
{ Key: "Department", Value: "VFX" }
]
});

Set specific job attachment settings for the Deadline Queue.

const queueWithJobAttachmentSettings = await AWS.Deadline.Queue("jobAttachmentQueue", {
DisplayName: "Job Attachment Queue",
FarmId: "jobAttachmentFarmId",
JobAttachmentSettings: {
IncludeJobLogs: true,
IncludeJobReports: true
}
});

Define required file system locations for jobs submitted to the queue.

const queueWithFileSystemLocations = await AWS.Deadline.Queue("fileSystemQueue", {
DisplayName: "File System Location Queue",
FarmId: "fileSystemFarmId",
RequiredFileSystemLocationNames: [
"location1",
"location2"
]
});