Amazon Simple Storage Service
Developer Guide (API Version 2006-03-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Special Information for Amazon S3 Policies

The following list describes the restrictions on Amazon S3 policies:

  • The maximum size of a policy is 20 KB

  • The value for Resource must be prefixed with the bucket name or the bucket name and a path under it (bucket/*). If only the bucket name is specified, without the trailing /*, the policy applies to the bucket.

  • Each policy must have a unique policy ID (Id)

  • Each statement in a policy must have a unique statement ID (sid)

  • Each policy must cover only a single bucket and resources within that bucket (when writing a policy, don't include statements that refer to other buckets or resources in other buckets)