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.
Idawscc.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.

For more information, see AWS::RoboMaker::Robot.

Methods

NameResourceAccessible byRequired Params
create_resourcerobotsINSERTGreengrassGroupId, Architecture, region
delete_resourcerobotsDELETEIdentifier, region
update_resourcerobotsUPDATEIdentifier, PatchDocument, region
list_resourcesrobots_list_onlySELECTregion
get_resourcerobotsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual robot.

SELECT
region,
arn,
fleet,
architecture,
greengrass_group_id,
tags,
name
FROM awscc.robomaker.robots
WHERE
region = 'us-east-1' AND
Identifier = '{{ arn }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.robomaker.robots
SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.robomaker.robots
WHERE
Identifier = '{{ arn }}' AND
region = 'us-east-1';

Permissions

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

robomaker:CreateRobot,
robomaker:RegisterRobot