Class | AWS::S3::AccessControlList::Grantee |
In: |
lib/aws/s3/access_control_list.rb
|
Parent: | Object |
Represents a user who is granted some kind of permission through a Grant. There are three ways to specify a grantee:
Grantee.new(:canonical_user_id => "8a6925ce4adf588a4f21c32aa379004fef")
Grantee.new(:amazon_customer_email => 'foo@example.com')
Grantee.new(:group_uri => 'http://acs.amazonaws.com/groups/global/AllUsers')
For more details about group URIs, see: docs.amazonwebservices.com/AmazonS3/latest/dev/ACLOverview.html
When constructing a grantee, you must provide a value for exactly one of the following attributes:
@attr [String] amazon_customer_email The e-mail address of
an AWS customer.
@attr [String] canonical_user_id The canonical user ID of an
AWS customer.
@attr [String] group_uri A URI that identifies a particular
group of users.
@attr [String] display_name The display name associated with
the grantee. This is provided by S3 when reading an ACL.
SIGNAL_ATTRIBUTES | = | [:amazon_customer_email, :canonical_user_id, :group_uri] |