Fleet
The Fleet resource lets you manage AWS RoboMaker Fleets for deploying and running robotics applications in the cloud.
Minimal Example
Section titled “Minimal Example”Create a basic RoboMaker Fleet with a name and optional tags.
import AWS from "alchemy/aws/control";
const basicFleet = await AWS.RoboMaker.Fleet("basicFleet", { name: "MyRoboFleet", tags: { Environment: "Development", Team: "Robotics" }});
Advanced Configuration
Section titled “Advanced Configuration”Configure a RoboMaker Fleet with a name and set the adopt
property to true, allowing it to adopt existing resources.
const advancedFleet = await AWS.RoboMaker.Fleet("advancedFleet", { name: "AdvancedRoboFleet", adopt: true, tags: { Environment: "Production", Project: "AutonomousVehicles" }});
Adoption of Existing Resources
Section titled “Adoption of Existing Resources”Demonstrate how to create a fleet that adopts an already existing resource without failing.
const existingFleet = await AWS.RoboMaker.Fleet("existingFleet", { name: "ExistingRoboFleet", adopt: true});
Fleet with Custom Tags
Section titled “Fleet with Custom Tags”Create a fleet while specifying custom tags for better resource management and tracking.
const taggedFleet = await AWS.RoboMaker.Fleet("taggedFleet", { name: "TaggedRoboFleet", tags: { Environment: "Staging", Owner: "DevTeam", Version: "v1.0" }});