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
Idawscc.deadline.storage_profiles

Fields

NameDatatypeDescription
display_namestring
farm_idstring
file_system_locationsarray
os_familystring
storage_profile_idstring
regionstringAWS region.

For more information, see AWS::Deadline::StorageProfile.

Methods

NameResourceAccessible byRequired Params
create_resourcestorage_profilesINSERTDisplayName, FarmId, OsFamily, region
delete_resourcestorage_profilesDELETEIdentifier, region
update_resourcestorage_profilesUPDATEIdentifier, PatchDocument, region
list_resourcesstorage_profiles_list_onlySELECTregion
get_resourcestorage_profilesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual storage_profile.

SELECT
region,
display_name,
farm_id,
file_system_locations,
os_family,
storage_profile_id
FROM awscc.deadline.storage_profiles
WHERE
region = 'us-east-1' AND
Identifier = '{{ farm_id }}|{{ storage_profile_id }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.deadline.storage_profiles (
DisplayName,
FarmId,
OsFamily,
region
)
SELECT
'{{ display_name }}',
'{{ farm_id }}',
'{{ os_family }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.deadline.storage_profiles
SET PatchDocument = string('{{ {
"DisplayName": display_name,
"FileSystemLocations": file_system_locations,
"OsFamily": os_family
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ farm_id }}|{{ storage_profile_id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.deadline.storage_profiles
WHERE
Identifier = '{{ farm_id }}|{{ storage_profile_id }}' AND
region = 'us-east-1';

Permissions

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

deadline:CreateStorageProfile,
deadline:GetStorageProfile,
identitystore:ListGroupMembershipsForMember