Skip to content

Instantly share code, notes, and snippets.

@mshakhomirov
Created October 12, 2019 18:48
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 mshakhomirov/c8c95e0751f8ec4577458fd8d15c791e to your computer and use it in GitHub Desktop.
Save mshakhomirov/c8c95e0751f8ec4577458fd8d15c791e to your computer and use it in GitHub Desktop.
{
"Records": [
{
"eventVersion": "2.0",
"eventSource": "aws:s3",
"awsRegion": "eu-west-1",
"eventTime": "2017-04-11T09:29:02.255Z",
"eventName": "ObjectCreated:Put",
"userIdentity": {
"principalId": "AWS:AROAJMDLTHKSTD54VVQXA: ingest-lambda"
},
"requestParameters": {
"sourceIPAddress": "11.22.333.444"
},
"responseElements": {
"x-amz-request-id": "123456BBA39E",
"x-amz-id-2": "qwertyuiop60OvOGuQc96hcvRczEsdfghjklTW929FBA="
},
"s3": {
"s3SchemaVersion": "1.0",
"configurationId": "qwe32-cc02-qwer-1234-asdsad",
"bucket": {
"name": "your.bucketname.aws",
"ownerIdentity": {
"principalId": "qwerty123"
},
"arn": "arn:aws:s3:::your.bucketname.aws"
},
"object": {
"key": "your_folder/table_1_file",
"size": 247,
"eTag": "qwerttyf28aede3fdeaa95e7",
"versionId": "asdfghjkl9xMnGRwMpxZ",
"sequencer": "qwerrt12312"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment