Amazon Simple Storage Service
Developer Guide (API Version 2006-03-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid 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)