You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::S3Control::Types::S3AccessControlPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::S3AccessControlPolicy
- Defined in:
- (unknown)
Overview
Note:
When passing S3AccessControlPolicy as input to an Aws::Client method, you can use a vanilla Hash:
{
access_control_list: {
owner: { # required
id: "NonEmptyMaxLength1024String",
display_name: "NonEmptyMaxLength1024String",
},
grants: [
{
grantee: {
type_identifier: "id", # accepts id, emailAddress, uri
identifier: "NonEmptyMaxLength1024String",
display_name: "NonEmptyMaxLength1024String",
},
permission: "FULL_CONTROL", # accepts FULL_CONTROL, READ, WRITE, READ_ACP, WRITE_ACP
},
],
},
canned_access_control_list: "private", # accepts private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, bucket-owner-full-control
}
Returned by:
Instance Attribute Summary collapse
-
#access_control_list ⇒ Types::S3AccessControlList
-
#canned_access_control_list ⇒ String
Possible values:
- private
- public-read
- public-read-write
- aws-exec-read
- authenticated-read
- bucket-owner-read
- bucket-owner-full-control
.
Instance Attribute Details
#access_control_list ⇒ Types::S3AccessControlList
#canned_access_control_list ⇒ String
Possible values:
- private
- public-read
- public-read-write
- aws-exec-read
- authenticated-read
- bucket-owner-read
- bucket-owner-full-control