Skip to content
awsclaw-stepfunc logo

Awsclaw Stepfunc

awsclaw-stepfunc

Manage and run AWS Step Functions state machines, executions, and activities using the awsclaw VS Code extension StepFuncTool.

SKILL.md

Full skill instructions

awsclaw-stepfunc

Use the StepFuncTool language tool in VS Code to manage AWS Step Functions state machines, executions, activities, and lifecycle operations.

When to Use

  • User wants to list or describe state machines
  • User wants to start a new execution or inspect existing executions
  • User wants to view execution history (step-by-step events)
  • User wants to update a state machine definition
  • User wants to validate a state machine definition
  • User wants to list or describe activities and map runs
  • User wants to create or delete state machines and activities
  • User wants to stop executions or manage tags and aliases

Tool Reference

Tool name: StepFuncTool

Input Schema

{
  "command": "<CommandName>",
  "params": { ... }
}

Commands (28 total)

CommandDescription
DescribeActivityDescribe an activity
DescribeExecutionDescribe a specific execution
DescribeMapRunDescribe a Map Run
DescribeStateMachineDescribe a state machine
DescribeStateMachineAliasDescribe a state machine alias
DescribeStateMachineForExecutionDescribe state machine associated with an execution
GetExecutionHistoryGet the step-by-step event history of an execution
ListActivitiesList activities
ListExecutionsList executions for a state machine
ListMapRunsList Map Runs for an execution
ListStateMachineAliasesList aliases for a state machine
ListStateMachinesList all state machines
ListStateMachineVersionsList versions of a state machine
StartExecutionStart a new execution of a state machine
UpdateStateMachineUpdate a state machine definition, role, or configuration
ValidateStateMachineDefinitionValidate an Amazon States Language definition
CreateStateMachineCreate a new state machine
CreateActivityCreate an activity
CreateStateMachineAliasCreate a state machine alias
PublishStateMachineVersionPublish a state machine version
TagResourceTag a state machine or activity
UntagResourceRemove tags from a resource
DeleteStateMachineDelete a state machine
DeleteActivityDelete an activity
StopExecutionStop a running execution
UpdateStateMachineAliasUpdate a state machine alias
DeleteStateMachineAliasDelete a state machine alias
DeleteStateMachineVersionDelete a state machine version

Parameters

ParameterTypeDescription
stateMachineArnstringState machine ARN (Required by: DescribeStateMachine, StartExecution, UpdateStateMachine; Used by: ListExecutions)
executionArnstringExecution ARN (Required by: DescribeExecution, GetExecutionHistory)
maxResultsnumberMaximum items to return (Used by: ListExecutions, ListStateMachines, GetExecutionHistory)
nextTokenstringPagination token (Used by: ListExecutions, ListStateMachines, GetExecutionHistory)
reverseOrderbooleanReturn events in reverse chronological order (Used by: GetExecutionHistory)
statusFilterstringFilter executions by status. Enum: RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED (Used by: ListExecutions)
namestringExecution name (Used by: StartExecution)
inputstringJSON string input for execution (Used by: StartExecution)
traceHeaderstringX-Ray trace header (Used by: StartExecution)
definitionstringState machine definition in Amazon States Language (Used by: UpdateStateMachine)
roleArnstringIAM role ARN for the state machine (Used by: UpdateStateMachine)
loggingConfigurationobjectLogging configuration object (Used by: UpdateStateMachine)
tracingConfigurationobjectTracing configuration object (Used by: UpdateStateMachine)
publishbooleanSet true to publish a new version (Used by: UpdateStateMachine)
versionDescriptionstringDescription for the published version (Used by: UpdateStateMachine)

Usage Examples

List all state machines

{ "command": "ListStateMachines", "params": { "maxResults": 20 } }

Describe a state machine

{ "command": "DescribeStateMachine", "params": { "stateMachineArn": "arn:aws:states:us-east-1:123456789012:stateMachine:MyWorkflow" } }

List executions with status filter

{ "command": "ListExecutions", "params": { "stateMachineArn": "arn:aws:states:us-east-1:123456789012:stateMachine:MyWorkflow", "statusFilter": "FAILED", "maxResults": 10 } }

Start a new execution

{ "command": "StartExecution", "params": { "stateMachineArn": "arn:aws:states:us-east-1:123456789012:stateMachine:MyWorkflow", "input": "{\"orderId\": \"12345\", \"amount\": 99.99}" } }

Get execution history

{ "command": "GetExecutionHistory", "params": { "executionArn": "arn:aws:states:us-east-1:123456789012:execution:MyWorkflow:exec-id", "maxResults": 100, "reverseOrder": true } }

Describe an execution

{ "command": "DescribeExecution", "params": { "executionArn": "arn:aws:states:us-east-1:123456789012:execution:MyWorkflow:exec-id" } }

Update state machine definition

{ "command": "UpdateStateMachine", "params": { "stateMachineArn": "arn:aws:states:us-east-1:123456789012:stateMachine:MyWorkflow", "definition": "{\"StartAt\": \"Step1\", \"States\": { \"Step1\": { \"Type\": \"Pass\", \"End\": true }}}" } }

Validate a definition

{ "command": "ValidateStateMachineDefinition", "params": {} }

Create a state machine

{ "command": "CreateStateMachine", "params": { "name": "MyWorkflow", "definition": "{\"StartAt\":\"Step1\",\"States\":{\"Step1\":{\"Type\":\"Pass\",\"End\":true}}}", "roleArn": "arn:aws:iam::123456789012:role/​StepFuncRole" } }

Stop an execution

{ "command": "StopExecution", "params": { "executionArn": "arn:aws:states:...:execution:MyWorkflow:exec-id", "cause": "manual stop" } }

Related Services

Step Functions orchestrates workflows across many AWS services:

RelationshipTool
Invokes Lambda functionsLambdaTool
Sends messages to SQSSQSTool
Publishes to SNS topicsSNSTool
Reads/​writes DynamoDB tablesDynamoDBTool
Starts Glue jobsGlueTool
Starts EMR stepsEMRTool
Calls API Gateway endpointsAPIGatewayTool
Execution logs in CloudWatchCloudWatchLogTool
IAM roles for executionIAMTool
Deployed via CloudFormationCloudFormationTool

CloudWatch Log Group Naming

Step Functions log groups typically follow:

/​aws/​vendedlogs/​states/<state-machine-name>-Logs

Use CloudWatchLogTool → DescribeLogGroups with logGroupNamePrefix: "/​aws/​vendedlogs/​states/" to find them.

Tips

  • Use ListStateMachines → DescribeStateMachine to explore definition and configuration.
  • Use ListExecutions with statusFilter: "FAILED" to find failed runs, then GetExecutionHistory to debug step-by-step.
  • StartExecution requires stateMachineArn and accepts a JSON input string.
  • The definition in UpdateStateMachine must be valid Amazon States Language JSON.
  • Use reverseOrder: true in GetExecutionHistory to see the most recent events first.

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
I
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View