Skip to content

Instantly share code, notes, and snippets.

@shantanuo
Created September 6, 2024 09:08
Show Gist options
  • Save shantanuo/8bbdf16a6fcc20c9790f0148aba6c93d to your computer and use it in GitHub Desktop.
Save shantanuo/8bbdf16a6fcc20c9790f0148aba6c93d to your computer and use it in GitHub Desktop.
response from function triggered by S3 upload
{
"Records": [
{
"eventVersion": "2.1",
"eventSource": "aws:s3",
"awsRegion": "us-east-1",
"eventTime": "2024-09-06T09:04:31.604Z",
"eventName": "ObjectCreated:Put",
"userIdentity": {
"principalId": "AWS:AROAUMZZHU37XXRU2T:telto3again"
},
"requestParameters": {
"sourceIPAddress": "3.236.248.60"
},
"responseElements": {
"x-amz-request-id": "6TWX2P4BGHCMJWD3",
"x-amz-id-2": "ejw8rDd0RSME7RJctl6+F4XMriXXHS3cVmudmSJy47PIN6lt9uxKXyxf87ESo0io6j6PjiFpfIqDGFPRA9CMbKB/hup90"
},
"s3": {
"s3SchemaVersion": "1.0",
"configurationId": "myevent",
"bucket": {
"name": "telto3again-3023783362623",
"ownerIdentity": {
"principalId": "A1X6GRYXXNEIVBNJ"
},
"arn": "arn:aws:s3:::telto3again-3023738362623"
},
"object": {
"key": "shantanuoak/20240906090430_file_17.jpg",
"size": 111806,
"eTag": "46186308aa3a4461e3b88aca2dfe7e1b",
"sequencer": "0066DAC59FX6D75377A"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment