Skip to content
GitHubXDiscord

StorageProfile

The StorageProfile resource lets you manage AWS Deadline StorageProfiles to define storage configurations for your rendering jobs.

Create a basic StorageProfile with required properties and one optional FileSystemLocation.

import AWS from "alchemy/aws/control";
const basicStorageProfile = await AWS.Deadline.StorageProfile("basicStorageProfile", {
DisplayName: "Basic Storage Profile",
FarmId: "default-farm",
OsFamily: "Windows",
FileSystemLocations: [{
Path: "//myserver/myshare",
Type: "Nfs"
}]
});

Configure a StorageProfile with multiple FileSystemLocations to support different storage needs.

const advancedStorageProfile = await AWS.Deadline.StorageProfile("advancedStorageProfile", {
DisplayName: "Advanced Storage Profile",
FarmId: "render-farm-01",
OsFamily: "Linux",
FileSystemLocations: [
{
Path: "//nfs-server/path/to/storage",
Type: "Nfs"
},
{
Path: "s3://my-bucket/render-jobs",
Type: "S3"
}
]
});

Create or adopt an existing StorageProfile without failing if it already exists.

const adoptedStorageProfile = await AWS.Deadline.StorageProfile("adoptedStorageProfile", {
DisplayName: "Adopted Storage Profile",
FarmId: "existing-farm",
OsFamily: "Linux",
adopt: true
});