class Aws::S3::Types::AccessControlPolicy

Contains the elements that set the ACL permissions for an object per grantee.

@note When making an API call, you may pass AccessControlPolicy

data as a hash:

    {
      grants: [
        {
          grantee: {
            display_name: "DisplayName",
            email_address: "EmailAddress",
            id: "ID",
            type: "CanonicalUser", # required, accepts CanonicalUser, AmazonCustomerByEmail, Group
            uri: "URI",
          },
          permission: "FULL_CONTROL", # accepts FULL_CONTROL, WRITE, WRITE_ACP, READ, READ_ACP
        },
      ],
      owner: {
        display_name: "DisplayName",
        id: "ID",
      },
    }

@!attribute [rw] grants

A list of grants.
@return [Array<Types::Grant>]

@!attribute [rw] owner

Container for the bucket owner's display name and ID.
@return [Types::Owner]

@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlPolicy AWS API Documentation

Constants

SENSITIVE