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
Idaws.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
regionstringAWS region.

Methods

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

SELECT examples

Gets all queues in a region.

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
FROM aws.deadline.queues
WHERE region = 'us-east-1';

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
FROM aws.deadline.queues
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

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

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

DELETE example

/*+ delete */
DELETE FROM aws.deadline.queues
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

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

Create

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

Read

deadline:GetQueue,
identitystore:ListGroupMembershipsForMember

Update

deadline:UpdateQueue,
deadline:GetQueue,
iam:PassRole,
identitystore:ListGroupMembershipsForMember,
logs:CreateLogGroup,
s3:ListBucket

Delete

deadline:DeleteQueue,
deadline:GetQueue,
identitystore:ListGroupMembershipsForMember

List

deadline:ListQueues,
identitystore:DescribeGroup,
identitystore:DescribeUser,
identitystore:ListGroupMembershipsForMember