Here is a good example of an RDS maintenance Lambda for managing automated RDS backups from Lambda: https://github.com/cevoaustralia/aws-backup-lambda
As stated in the comments, RDS has a daily automated backup built into the service, but if you need a different or more frequent schedule, then you can use Lambda to automate the backups.
That project states:
A utility AWS lambda function to manage EBS and RDS snapshot backups.
The Lambda function takes new backups when executed, and manages the
deletion of the old ones when the upper limit is reached.
Beyond the RDS auto backups, a different/dedicated Lambda to copy snapshots is handy if you want to automate copying those snapshots to a different region for disaster recovery.
Using the above Lambda to schedule your snapshots, this Lambda will periodically copy the most current snapshot to another region, and prune old snapshots in the 'foreign' region. See https://github.com/pbudzon/aws-maintenance.
Also please see this answer on pros/cons of relying on RDS snapshots vs native backup: Should I stick only to AWS RDS Automated Backup or DB Snapshots?