Skip to content

Monitor

Source: src/AWS/Deadline/Monitor.ts

An AWS Deadline Cloud monitor — the hosted web console where artists and administrators view farms, queues, and jobs, authenticated through IAM Identity Center.

Basic Monitor

import * as AWS from "alchemy/AWS";
const monitor = yield* AWS.Deadline.Monitor("StudioMonitor", {
subdomain: "studio-renders",
identityCenterInstanceArn: "arn:aws:sso:::instance/ssoins-1234567890abcdef",
roleArn: monitorRole.roleArn,
});

Export the Monitor URL

// The monitor's web console URL is available as an output attribute —
// return it from the stack so users know where to sign in.
const monitor = yield* AWS.Deadline.Monitor("StudioMonitor", {
subdomain: "studio-renders",
identityCenterInstanceArn: identityCenterArn,
roleArn: monitorRole.roleArn,
});
return { monitorUrl: monitor.url };