Skip to content

yo61/lambda-copy-db-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

AWS Lambda function to copy an RDS DB Snapshot.

Designed to be triggered from a Cloudwatch event so automated snapshots are copied as soon as they are complete.

Cloudwatch

This is the event pattern to match snapshot creation events:

{
  "source": [
    "aws.rds"
  ],
  "detail-type": [
    "AWS API Call via CloudTrail"
  ],
  "detail": {
    "eventSource": [
      "rds.amazonaws.com"
    ],
    "eventName": [
      "CreateDBSnapshot"
    ]
  }
}

About

AWS Lambda function to copy a DB snapshot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published