- Schedule expression: rate(15 minutes)
- Enabled
- Python 3.7
KEY | VALUE |
---|---|
S3_BUCKET_NAME | console-screenshots |
EC2_TAG_KEY | screenshot |
EC2_TAG_VALUE | true |
Role Name: capture-ec2-console-screenshots
Use capture-ec2-console-screenshots.json
policy document to allow lambda function to capture and save screenshots in a S3 bucket.
Set the Timeout to 30 seconds. This value might need to be changed according to your requirnments.
If you think you can further improve this function, feel free to send a PR.