Skip to main content

robots

Creates, updates, deletes or gets a robot resource or lists robots in a region

Overview

Namerobots
TypeResource
DescriptionAWS::RoboMaker::Robot resource creates an AWS RoboMaker Robot.
Idaws.robomaker.robots

Fields

NameDatatypeDescription
arnstring
fleetstringThe Amazon Resource Name (ARN) of the fleet.
architecturestringThe target architecture of the robot.
greengrass_group_idstringThe Greengrass group id.
tagsobjectA key-value pair to associate with a resource.
namestringThe name for the robot.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTGreengrassGroupId, Architecture, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all robots in a region.

SELECT
region,
arn,
fleet,
architecture,
greengrass_group_id,
tags,
name
FROM aws.robomaker.robots
WHERE region = 'us-east-1';

Gets all properties from an individual robot.

SELECT
region,
arn,
fleet,
architecture,
greengrass_group_id,
tags,
name
FROM aws.robomaker.robots
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

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

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

DELETE example

/*+ delete */
DELETE FROM aws.robomaker.robots
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

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

Create

robomaker:CreateRobot,
robomaker:RegisterRobot

Read

robomaker:DescribeRobot

Delete

robomaker:DescribeRobot,
robomaker:DeleteRobot,
robomaker:DeregisterRobot

List

robomaker:ListRobots

Update

robomaker:TagResource,
robomaker:UntagResource