Short snippets you can copy and adapt for topics that show up on the Developer Associate exam. Meant for learning, not paste-into-prod code.
| File | Topic |
|---|---|
| boto3_client_config.py | Configuring boto3 with retries and timeouts |
| dynamodb_conditional_write.py | Conditional Put for idempotency |
| s3_presign.py | Presigned GET/PUT URLs |
| lambda_handler_minimal.py | API Gateway Lambda proxy response shape |
| buildspec.yml | CodeBuild phases |
| template-sam.yaml | Minimal SAM template |
| requirements.txt | Python dependencies for boto3 examples |
- Python 3.10+
pip install -r requirements.txt- AWS credentials with least-privilege policies for the operations you test
Set region explicitly in code or via AWS_REGION / AWS_DEFAULT_REGION.