# Get CPU metrics of an instance — Amazon Lightsail Botize method — `aws_lightsail.get_instance_cpu_metrics` (action). Returns summarized CPU utilization metrics for a Lightsail instance based on its name. This is an action: it runs as a step of a task. Several can be chained. ## Fields you set The field's internal name, its type and the values it accepts. These fields accept `{{...}}` tags from earlier steps. - `instance_name` *(string)* — Instance Name ## Output variables Data this step makes available. Reference them in later steps with the double-brace tag. - `{{instance_name}}` *(text)* — Instance Name - `{{metric}}` *(text)* — Metric Name - `{{range_minutes}}` *(int)* — Range (minutes) - `{{period}}` *(int)* — Aggregation period (seconds) - `{{cpu_average}}` *(int)* — Average CPU (%) - `{{cpu_max}}` *(int)* — Maximum CPU (%) - `{{cpu_min}}` *(int)* — Minimum CPU (%) - `{{cpu_last}}` *(int)* — Last CPU (%) - `{{status}}` *(text)* — Status - `{{start_time}}` *(text)* — Start time (ISO8601) - `{{end_time}}` *(text)* — End time (ISO8601) ## Account Needs a connected Amazon Lightsail account in Botize: https://botize.com/en/app/aws_lightsail/authenticate ## This app Every trigger and action for Amazon Lightsail: https://botize.com/en/app/aws_lightsail.md ## How to build this An AI assistant (Claude, ChatGPT, Cursor…) can create and edit these tasks in the user's account through the Botize MCP connector, included in every plan: https://webhook.botize.es/mcp - Connection guide: https://botize.com/en/mcp - Agent map: https://botize.com/llms.txt - New account: https://botize.com/en/join (500 free operations, no card) --- Machine-readable summary for AI assistants. Human version: https://botize.com/en/method/aws_lightsail/get_instance_cpu_metrics