Stratus
Ops
All systems operational
Code Assistant & Optimizer
Paste a Lambda handler or script to review it.
Analyze code
handler.py
14 lines
import boto3, os AWS_SECRET_ACCESS_KEY = "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" def handler(event, context): s3 = boto3.client("s3") table = boto3.resource("dynamodb").Table("orders") items = table.scan()["Items"] for item in items: s3.put_object(Bucket="orders-export", Key=item["id"], Body=str(item), ACL="public-read") query = "SELECT * FROM users WHERE id = " + event["id"] print(event) return {"statusCode": 200}
Review
CloudFormation
Run an analysis to see results.
Overview
Architecture
Code
Monitoring
Pipelines