Walkthrough 4: Bucket and user policy examples

This section introduces more practical examples to configure complex policies specifying actions, buckets, or conditions based on several realistic scenarios.

Getting ready

Through the walkthroughs, you learned about the concept of bucket policies and user policies, how to configure bucket policies to Amazon S3 bucket and user policies to IAM users, and how bucket policies and user policies work together.

This section focuses on bucket policy examples and their structure based on common use cases. We will be looking into the following bucket policy examples:

  • Granting permissions to multiple accounts, specific resources, and addresses in a bucket policy
  • Allowing a user to access a folder in a bucket in ...

Get Amazon S3 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.