Individual skill
processing-s3-uploads-with-step-functions
Deploy an event-driven workflow that routes S3 uploads to either Lambda or Fargate via Step Functions based on file size. Uses EventBridge to trigger a Step Functions state machine when objects are uploaded to S3. Small files are processed by Lambda, large files by a Fargate task. Includes VPC, ECR repository, ECS cluster, and scoped IAM roles. Trigger keywords: Step Functions, Fargate, Lambda, S3 event, EventBridge, ECS, ECR, file processing, workflow orchestration, serverless.
skills/specialized-skills/serverless-skills/processing-s3-uploads-with-step-functions/SKILL.md
Source commit 1761e96813ebcbd43ed81d19e837219033f0afe5
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 3, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 3,422
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- operations Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 15,864 bytesSKILL.mdcore · 15,864 bytesreferences/ecs-task-definition.mddoc · 1,259 bytesreferences/iam-roles.mddoc · 4,540 bytesscripts/Dockerfileruns · 341 bytesscripts/ecs-trust-policy.jsonasset · 307 bytesscripts/eventbridge-trust-policy.jsonasset · 304 bytesscripts/fargate_processor.pyruns · 1,208 bytesscripts/lambda-trust-policy.jsonasset · 304 bytesscripts/lambda_function.pyruns · 1,368 bytesscripts/requirements.txtdoc · 1,520 bytesscripts/statemachine.asl.jsonasset · 1,577 bytesscripts/stepfunctions-trust-policy.jsonasset · 304 bytes
Read excerpt
# Step Functions Workflow: Route S3 Uploads to Lambda or Fargate
## Overview
This skill deploys an event-driven workflow using AWS CLI. When a file is uploaded to
an S3 bucket, EventBridge triggers a Step Functions state machine. The state machine
checks the file size and routes processing to either a Lambda function (files ≤ 6 MB)
or a Fargate task (files > 6 MB).
The architecture includes:
- An S3 bucket with EventBridge notifications enabled
- An EventBridge rule that triggers Step Functions on S3 object creation
- A Step Functions state machine with a Choice state for routing