Class: Aws::S3Control::Types::S3AccessControlPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::S3AccessControlPolicy
- Defined in:
- gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb
Overview
Note:
When making an API call, you may pass S3AccessControlPolicy data as a 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
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
Instance Attribute Details
#access_control_list ⇒ Types::S3AccessControlList
5392 5393 5394 5395 5396 5397 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5392 class S3AccessControlPolicy < Struct.new( :access_control_list, :canned_access_control_list) SENSITIVE = [] include Aws::Structure end |
#canned_access_control_list ⇒ String
5392 5393 5394 5395 5396 5397 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5392 class S3AccessControlPolicy < Struct.new( :access_control_list, :canned_access_control_list) SENSITIVE = [] include Aws::Structure end |