📝 002
Zenn Beginner Article Bot
SAMBedrockS3SESmatplotlib
Overview
Randomly selects from 22 AWS service topics and generates 3,000-5,000 character Zenn articles with Bedrock. Simultaneously generates 2 architecture diagram PNGs using AWS official icons with matplotlib. Full Zenn Markdown format support.
Architecture
Key Implementation Points
- Manages topic history in SSM to prevent repeating the same subject across 22 topics
- Generates 2 architecture diagram PNGs alongside each article using matplotlib and official AWS icons
- Prompt designed to produce valid Zenn Markdown with headers, code blocks, and image embeds
- Sends completion notification via SES; fully automated from generation to S3 upload
Tech Stack
Lambda
Amazon Bedrock
S3
SES
SSM Parameter Store
SAM