AWS Lambda tutorial: Create EC2 snapshots by AWS Lambda (Python)
Source code:
https://1drv.ms/u/s!AmVGmcoOTIshqH8hONP_SATrC_lr
Amazon Boto3 library reference:
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2.html#client