forked from blueimp/aws-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-event.json
38 lines (38 loc) · 983 Bytes
/
test-event.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"Records": [
{
"eventVersion": "2.0",
"eventSource": "aws:s3",
"awsRegion": "eu-west-1",
"eventTime": "2017-09-11T14:57:20.224Z",
"eventName": "ObjectCreated:Put",
"userIdentity": {
"principalId": "AWS:xxxxxxxxxxxxxxxxxxxxx"
},
"requestParameters": {
"sourceIPAddress": "127.0.0.1"
},
"responseElements": {
"x-amz-request-id": "xxxxxxxxxxxxxxxx",
"x-amz-id-2": "Cg=="
},
"s3": {
"s3SchemaVersion": "1.0",
"configurationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"bucket": {
"name": "BUCKET_NAME",
"ownerIdentity": {
"principalId": "xxxxxxxxxxxxx"
},
"arn": "arn:aws:s3:::BUCKET_NAME"
},
"object": {
"key": "test.txt",
"size": 7,
"eTag": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"sequencer": "xxxxxxxxxxxxxxxxxx"
}
}
}
]
}