This script will help to delete snapshots older than X days
keep above script in lambda function and perform test.
Script will send total deleted snapshots and total deleted Size details in SMTP email (html) / SNS.
Note: always perform first in Test Environment