Skip to main content

storage_profiles

Creates, updates, deletes or gets a storage_profile resource or lists storage_profiles in a region

Overview

Namestorage_profiles
TypeResource
DescriptionDefinition of AWS::Deadline::StorageProfile Resource Type
Idaws.deadline.storage_profiles

Fields

NameDatatypeDescription
display_namestring
farm_idstring
file_system_locationsarray
os_familystring
storage_profile_idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTDisplayName, OsFamily, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all storage_profiles in a region.

SELECT
region,
display_name,
farm_id,
file_system_locations,
os_family,
storage_profile_id
FROM aws.deadline.storage_profiles
WHERE region = 'us-east-1';

Gets all properties from an individual storage_profile.

SELECT
region,
display_name,
farm_id,
file_system_locations,
os_family,
storage_profile_id
FROM aws.deadline.storage_profiles
WHERE region = 'us-east-1' AND data__Identifier = '<FarmId>|<StorageProfileId>';

INSERT example

Use the following StackQL query and manifest file to create a new storage_profile resource, using stack-deploy.

/*+ create */
INSERT INTO aws.deadline.storage_profiles (
DisplayName,
OsFamily,
region
)
SELECT
'{{ DisplayName }}',
'{{ OsFamily }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.deadline.storage_profiles
WHERE data__Identifier = '<FarmId|StorageProfileId>'
AND region = 'us-east-1';

Permissions

To operate on the storage_profiles resource, the following permissions are required:

Create

deadline:CreateStorageProfile,
deadline:GetStorageProfile,
identitystore:ListGroupMembershipsForMember

Read

deadline:GetStorageProfile,
identitystore:ListGroupMembershipsForMember

Update

deadline:UpdateStorageProfile,
deadline:GetStorageProfile,
identitystore:ListGroupMembershipsForMember

Delete

deadline:DeleteStorageProfile,
deadline:GetStorageProfile,
identitystore:ListGroupMembershipsForMember

List

deadline:ListStorageProfiles,
identitystore:ListGroupMembershipsForMember