queue_fleet_associations
Creates, updates, deletes or gets a queue_fleet_association
resource or lists queue_fleet_associations
in a region
Overview
Name | queue_fleet_associations |
Type | Resource |
Description | Definition of AWS::Deadline::QueueFleetAssociation Resource Type |
Id | aws.deadline.queue_fleet_associations |
Fields
Name | Datatype | Description |
---|---|---|
farm_id | string | |
fleet_id | string | |
queue_id | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | FarmId, FleetId, QueueId, region |
delete_resource | DELETE | data__Identifier, region |
list_resources | SELECT | region |
get_resource | SELECT | data__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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.deadline.queue_fleet_associations (
FarmId,
FleetId,
QueueId,
region
)
SELECT
'{{ FarmId }}',
'{{ FleetId }}',
'{{ QueueId }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.deadline.queue_fleet_associations (
FarmId,
FleetId,
QueueId,
region
)
SELECT
'{{ FarmId }}',
'{{ FleetId }}',
'{{ QueueId }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: queue_fleet_association
props:
- name: FarmId
value: '{{ FarmId }}'
- name: FleetId
value: '{{ FleetId }}'
- name: QueueId
value: '{{ QueueId }}'
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