Skip to main content

queue_fleet_associations

Creates, updates, deletes or gets a queue_fleet_association resource or lists queue_fleet_associations in a region

Overview

Namequeue_fleet_associations
TypeResource
DescriptionDefinition of AWS::Deadline::QueueFleetAssociation Resource Type
Idaws.deadline.queue_fleet_associations

Fields

NameDatatypeDescription
farm_idstring
fleet_idstring
queue_idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTFarmId, FleetId, QueueId, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all queue_fleet_associations in a region.

SELECT
region,
farm_id,
fleet_id,
queue_id
FROM aws.deadline.queue_fleet_associations
WHERE region = 'us-east-1';

Gets all properties from an individual queue_fleet_association.

SELECT
region,
farm_id,
fleet_id,
queue_id
FROM aws.deadline.queue_fleet_associations
WHERE region = 'us-east-1' AND data__Identifier = '<FarmId>|<FleetId>|<QueueId>';

INSERT example

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

/*+ create */
INSERT INTO aws.deadline.queue_fleet_associations (
FarmId,
FleetId,
QueueId,
region
)
SELECT
'{{ FarmId }}',
'{{ FleetId }}',
'{{ QueueId }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

deadline:CreateQueueFleetAssociation,
deadline:GetQueueFleetAssociation,
identitystore:ListGroupMembershipsForMember

Read

deadline:GetQueueFleetAssociation,
identitystore:ListGroupMembershipsForMember

Delete

deadline:DeleteQueueFleetAssociation,
deadline:GetQueueFleetAssociation,
deadline:UpdateQueueFleetAssociation,
identitystore:ListGroupMembershipsForMember

List

deadline:ListQueueFleetAssociations,
identitystore:ListGroupMembershipsForMember