Skip to main content

queue_environments

Creates, updates, deletes or gets a queue_environment resource or lists queue_environments in a region

Overview

Namequeue_environments
TypeResource
DescriptionDefinition of AWS::Deadline::QueueEnvironment Resource Type
Idaws.deadline.queue_environments

Fields

NameDatatypeDescription
farm_idstring
namestring
priorityinteger
queue_environment_idstring
queue_idstring
templatestring
template_typestring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTFarmId, QueueId, Priority, Template, TemplateType, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all queue_environments in a region.

SELECT
region,
farm_id,
name,
priority,
queue_environment_id,
queue_id,
template,
template_type
FROM aws.deadline.queue_environments
WHERE region = 'us-east-1';

Gets all properties from an individual queue_environment.

SELECT
region,
farm_id,
name,
priority,
queue_environment_id,
queue_id,
template,
template_type
FROM aws.deadline.queue_environments
WHERE region = 'us-east-1' AND data__Identifier = '<FarmId>|<QueueId>|<QueueEnvironmentId>';

INSERT example

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

/*+ create */
INSERT INTO aws.deadline.queue_environments (
FarmId,
Priority,
QueueId,
Template,
TemplateType,
region
)
SELECT
'{{ FarmId }}',
'{{ Priority }}',
'{{ QueueId }}',
'{{ Template }}',
'{{ TemplateType }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

deadline:CreateQueueEnvironment,
identitystore:ListGroupMembershipsForMember

Read

deadline:GetQueueEnvironment,
identitystore:ListGroupMembershipsForMember

Update

deadline:UpdateQueueEnvironment,
identitystore:ListGroupMembershipsForMember

Delete

deadline:DeleteQueueEnvironment,
deadline:GetQueueEnvironment,
identitystore:ListGroupMembershipsForMember

List

deadline:ListQueueEnvironments,
identitystore:ListGroupMembershipsForMember