Skip to main content

queues

Creates, updates, deletes or gets a queue resource or lists queues in a region

Overview

Namequeues
TypeResource
DescriptionDefinition of AWS::Deadline::Queue Resource Type
Idawscc.deadline.queues

Fields

NameDatatypeDescription
allowed_storage_profile_idsarray
default_budget_actionstring
descriptionstring
display_namestring
farm_idstring
job_attachment_settingsobject
job_run_as_userobject
queue_idstring
required_file_system_location_namesarray
role_arnstring
arnstring
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourcequeuesINSERTDisplayName, FarmId, region
delete_resourcequeuesDELETEIdentifier, region
update_resourcequeuesUPDATEIdentifier, PatchDocument, region
list_resourcesqueues_list_onlySELECTregion
get_resourcequeuesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual queue.

SELECT
region,
allowed_storage_profile_ids,
default_budget_action,
description,
display_name,
farm_id,
job_attachment_settings,
job_run_as_user,
queue_id,
required_file_system_location_names,
role_arn,
arn,
tags
FROM awscc.deadline.queues
WHERE
region = 'us-east-1' AND
Identifier = '{{ arn }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.deadline.queues
SET PatchDocument = string('{{ {
"AllowedStorageProfileIds": allowed_storage_profile_ids,
"DefaultBudgetAction": default_budget_action,
"Description": description,
"DisplayName": display_name,
"JobAttachmentSettings": job_attachment_settings,
"JobRunAsUser": job_run_as_user,
"RequiredFileSystemLocationNames": required_file_system_location_names,
"RoleArn": role_arn,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.deadline.queues
WHERE
Identifier = '{{ arn }}' AND
region = 'us-east-1';

Permissions

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

deadline:CreateQueue,
deadline:GetQueue,
iam:PassRole,
identitystore:ListGroupMembershipsForMember,
logs:CreateLogGroup,
s3:ListBucket,
deadline:TagResource,
deadline:ListTagsForResource