fleets
Creates, updates, deletes or gets a fleet
resource or lists fleets
in a region
Overview
Name | fleets |
Type | Resource |
Description | AWS::RoboMaker::Fleet resource creates an AWS RoboMaker fleet. Fleets contain robots and can receive deployments. |
Id | aws.robomaker.fleets |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | |
tags | object | A key-value pair to associate with a resource. |
name | string | The name of the fleet. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | , region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all fleets
in a region.
SELECT
region,
arn,
tags,
name
FROM aws.robomaker.fleets
WHERE region = 'us-east-1';
Gets all properties from an individual fleet
.
SELECT
region,
arn,
tags,
name
FROM aws.robomaker.fleets
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';
INSERT
example
Use the following StackQL query and manifest file to create a new fleet
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.robomaker.fleets (
,
region
)
SELECT
'{{ }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.robomaker.fleets (
Tags,
Name,
region
)
SELECT
'{{ Tags }}',
'{{ Name }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: fleet
props:
- name: Tags
value: {}
- name: Name
value: '{{ Name }}'
DELETE
example
/*+ delete */
DELETE FROM aws.robomaker.fleets
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';
Permissions
To operate on the fleets
resource, the following permissions are required:
Create
robomaker:CreateFleet
Read
robomaker:DescribeFleet
Delete
robomaker:DeleteFleet
Update
robomaker:TagResource,
robomaker:UntagResource
List
robomaker:ListFleets