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.
Minimal Example
Section titled “Minimal Example”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"});
Advanced Configuration
Section titled “Advanced Configuration”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"});
Adoption of Existing Resource
Section titled “Adoption of Existing Resource”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});
Updating a Robot
Section titled “Updating a Robot”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"});