class AWS::S3::AccessControlList

:permission => :full_control }]
“8a6925ce4adf588a4f21c32aa379004fef” },
acl.grants = [{ :grantee => { :canonical_user_id =>
grants. You can set this as a list of hashes, for example:
@attr [list of AccessControlList::Grant] grants The list of
This attribute is required when setting an ACL.
acl.owner = { :id => ‘8a6925ce4adf588a4f21c32aa379004fef’ }
control list. You can set this as a hash, for example:
@attr [AccessControlList::Owner] owner The owner of the access
@see ACLObject
)
:permission => :full_control }]
},
:canonical_user_id => “8a6925ce4adf588a4f21c32aa379004fef”,
:grants => [{ :grantee => {
:owner => { :id => “8a6925ce4adf588a4f21c32aa379004fef” },
AccessControlList.new(
You can also construct an AccessControlList from a hash:
acl.to_xml # => ‘<AccessControlPolicy>…’
to(:canonical_user_id => “8a6925ce4adf588a4f21c32aa379004fef”)
acl.grant(:full_control).
acl = AccessControlList.new
Represents an access control list for S3 objects and buckets. For example:

def element_name

Other tags:
    Private: -
def element_name
  "AccessControlPolicy"
end

def grant(permission)

Returns:
  • (GrantBuilder) -
def grant(permission)
  GrantBuilder.new(self, Grant.new(:permission => permission))
end

def stag

Other tags:
    Private: -
def stag
  super()+" xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\""
end