Bucket Policies

Bucket Policies #

Bucket policies allow for granular customization in how buckets (and the objects contained within) can be used for different use-cases. Policies are a JSON structure that model access to your bucket and objects.

At the minimum they must contain

  • Version
  • Statement

And statements are:

  • Action
  • Effect (e.g. allow or deny)
  • Resource (the bucket and/or object(s))
  • Principal

The following sections contain example use-cases that walk you through the JSON structure to show you how to use them.

Basics
Public (read)
Sharing
Source IP
Appendix