AWS S3

Follow

Comments

2 comments

  • Matt Hoffman

    After working with this example policy, it seems to be that it is incorrect. The will not allow for the proper creation of a notification from the bucket to the queue.

    Is you look at AWS example docs here: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ways-to-add-notification-config-to-bucket.html

    You can see how to properly set this up. In the example above, it looks like you have the queue name where you actually need the bucket name in the "aws:SourceArn": section.

    What you need to use in order to get this working is something like:

    "aws:SourceArn": "arn:aws:s3:*:*:<Your Desired S3 Bucket Name>"

    There may also be a formatting issue with the "Action": statement as it looks different in the aws documentation example. I hope this helps. Other than that this walkthrough worked so far. 

     

     

    0
    Comment actions Permalink
  • Matt Hoffman

    Typo in my comment above:

    *This example will not allow for the proper creation of a notification from the bucket to the queue.*

    0
    Comment actions Permalink

Please sign in to leave a comment.