example_message.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "Records":[
  3. {
  4. "eventVersion":"2.2",
  5. "eventSource":"aws:s3",
  6. "awsRegion":"us-west-2",
  7. "eventTime":"The time, in ISO-8601 format, for example, 1970-01-01T00:00:00.000Z, when Amazon S3 finished processing the request",
  8. "eventName":"event-type",
  9. "userIdentity":{
  10. "principalId":"Amazon-customer-ID-of-the-user-who-caused-the-event"
  11. },
  12. "requestParameters":{
  13. "sourceIPAddress":"ip-address-where-request-came-from"
  14. },
  15. "responseElements":{
  16. "x-amz-request-id":"Amazon S3 generated request ID",
  17. "x-amz-id-2":"Amazon S3 host that processed the request"
  18. },
  19. "s3":{
  20. "s3SchemaVersion":"1.0",
  21. "configurationId":"ID found in the bucket notification configuration",
  22. "bucket":{
  23. "name":"bucket-name",
  24. "ownerIdentity":{
  25. "principalId":"Amazon-customer-ID-of-the-bucket-owner"
  26. },
  27. "arn":"bucket-ARN"
  28. },
  29. "object":{
  30. "key":"object-key",
  31. "size":"object-size in bytes",
  32. "eTag":"object eTag",
  33. "versionId":"object version if bucket is versioning-enabled, otherwise null",
  34. "sequencer": "a string representation of a hexadecimal value used to determine event sequence, only used with PUTs and DELETEs"
  35. }
  36. },
  37. "glacierEventData": {
  38. "restoreEventData": {
  39. "lifecycleRestorationExpiryTime": "The time, in ISO-8601 format, for example, 1970-01-01T00:00:00.000Z, of Restore Expiry",
  40. "lifecycleRestoreStorageClass": "Source storage class for restore"
  41. }
  42. }
  43. }
  44. ]
  45. }