Skip to content

Instantly share code, notes, and snippets.

@joech4n
Last active February 11, 2018 04:20
Show Gist options
  • Save joech4n/953c1cd6a36698c5d120 to your computer and use it in GitHub Desktop.
Save joech4n/953c1cd6a36698c5d120 to your computer and use it in GitHub Desktop.
AWS Lambda Function to change ownership on each object created to the bucket owner. It accomplishes this by overwriting the key with itself. This is to be triggered by an S3 ObjectCreated (All) Event.
@joech4n
Copy link
Author

joech4n commented Mar 2, 2017

@williamtsoi1 thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment