AWS Lambda : Delete old EBS snapshots using Boto3
Briefly

AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume - there is no charge when your code is not running.
In delete_snapshots days value is hardcoded to 1 that can be replaced using events. Events are the key-value pair that can be accessed in function using event['key'].
Read at Medium
[
add
]
[
|
|
]