Skip to content
Snippets Groups Projects

Example S3 Event Snippet

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by David Sinclair
    Edited
    test.json 999 B
    {
      "Records": [
        {
          "eventVersion": "2.0",
          "eventSource": "aws:s3",
          "awsRegion": "eu-west-1",
          "eventTime": "2017-02-22T09:16:03.964Z",
          "eventName": "ObjectCreated:Put",
          "userIdentity": {
            "principalId": "AWS:XXXXXXXXXXX"
          },
          "requestParameters": {
            "sourceIPAddress": "123.456.789"
          },
          "responseElements": {
            "x-amz-request-id": "XXXXXXXXX",
            "x-amz-id-2": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
          },
          "s3": {
            "s3SchemaVersion": "1.0",
            "configurationId": "Backup Successful",
            "bucket": {
              "name": "my.bucket",
              "ownerIdentity": {
                "principalId": "XXXXXXXXXXX"
              },
              "arn": "arn:aws:s3:::my.bucket"
            },
            "object": {
              "key": "14/antigua-2025.zip",
              "size": 493812,
              "eTag": "zxbmcnbskdezb",
              "sequencer": "y238623rqwde"
            }
          }
        }
      ]
    }
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment