Skip to content

Instantly share code, notes, and snippets.

@theactivationfunction
Created June 17, 2020 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theactivationfunction/a4f9a3035b900b853e84bf36465ef7a6 to your computer and use it in GitHub Desktop.
Save theactivationfunction/a4f9a3035b900b853e84bf36465ef7a6 to your computer and use it in GitHub Desktop.
LambdaS3Test.json
{
"Records": [
{
"eventVersion": "2.1",
"eventSource": "aws:s3",
"awsRegion": "eu-west-2",
"eventTime": "2020-06-17T13:38:46.701Z",
"eventName": "ObjectCreated:Put",
"userIdentity": {
"principalId": "A7UQA2IM60E06"
},
"requestParameters": {
"sourceIPAddress": "88.104.25.55"
},
"responseElements": {
"x-amz-request-id": "2541D20B97701715",
"x-amz-id-2": "mDyowL+0gxKXpSt0k3CrLI8qyrZ1VOLzumBdidJv33B6zN5jkM7ZBpUy9NaQ+MJILaRUwxFyAnjm44INtTUFYoqoKLziY7lf"
},
"s3": {
"s3SchemaVersion": "1.0",
"configurationId": "1c51d4a3-bc18-438e-bd9e-6f9fc52c27e2",
"bucket": {
"name": "agooday-images-eu",
"ownerIdentity": {
"principalId": "A7UQA2IM60E06"
},
"arn": "arn:aws:s3:::agooday-images-eu"
},
"object": {
"key": "kittenanddog.jpeg",
"size": 6587,
"eTag": "e2102f6ee6707b5ef01d10a6dbc4d02e",
"sequencer": "005EEA1CE777CD9BAB"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment