Skip to content
GitHubXDiscord

Robot

The Robot resource allows you to create and manage AWS RoboMaker Robots. RoboMaker provides a platform for developing, testing, and deploying robotics applications at scale.

Create a basic Robot with required properties and a common optional property.

import AWS from "alchemy/aws/control";
const myRobot = await AWS.RoboMaker.Robot("myFirstRobot", {
Architecture: "X86_64",
GreengrassGroupId: "myGreengrassGroup",
Fleet: "myRobotFleet", // Optional: Specify the fleet this robot belongs to
Name: "MyRobot"
});

Configure a Robot with additional properties, including tags for better management.

const advancedRobot = await AWS.RoboMaker.Robot("advancedRobot", {
Architecture: "ARM64",
GreengrassGroupId: "myAdvancedGreengrassGroup",
Tags: {
Environment: "Production",
Owner: "RobotTeam"
},
Name: "AdvancedRobot"
});

Create a Robot that adopts an existing resource if it already exists.

const adoptedRobot = await AWS.RoboMaker.Robot("existingRobot", {
Architecture: "X86_64",
GreengrassGroupId: "myGreengrassGroup",
adopt: true // Attempt to adopt existing resource
});

Update an existing Robot’s properties, such as adding tags.

const updatedRobot = await AWS.RoboMaker.Robot("updateRobot", {
Architecture: "X86_64",
GreengrassGroupId: "myGreengrassGroup",
Tags: {
Project: "RoboProject",
Status: "Active"
},
Name: "UpdatedRobot"
});