Skip to main content

fleets

Creates, updates, deletes or gets a fleet resource or lists fleets in a region

Overview

Namefleets
TypeResource
DescriptionAWS::RoboMaker::Fleet resource creates an AWS RoboMaker fleet. Fleets contain robots and can receive deployments.
Idaws.robomaker.fleets

Fields

NameDatatypeDescription
arnstring
tagsobjectA key-value pair to associate with a resource.
namestringThe name of the fleet.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERT, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__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.

/*+ create */
INSERT INTO aws.robomaker.fleets (
,
region
)
SELECT
'{{ }}',
'{{ region }}';

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