StorageProfile
Source:
src/AWS/Deadline/StorageProfile.ts
An AWS Deadline Cloud storage profile — describes the operating system and file system locations of the hosts in a farm so path mapping works across mixed environments.
Creating Storage Profiles
Section titled “Creating Storage Profiles”Linux Storage Profile
import * as AWS from "alchemy/AWS";
const profile = yield* AWS.Deadline.StorageProfile("LinuxHosts", { farmId: farm.farmId, osFamily: "LINUX", fileSystemLocations: [ { name: "Assets", path: "/mnt/assets", type: "SHARED" }, ],});Cross-Platform Path Mapping
// A second profile in the same farm maps the same shared location to its// Windows drive path, so jobs submitted from either OS resolve `Assets`.const windows = yield* AWS.Deadline.StorageProfile("WindowsHosts", { farmId: farm.farmId, osFamily: "WINDOWS", fileSystemLocations: [ { name: "Assets", path: "Z:\\assets", type: "SHARED" }, ],});