Class: Aws::S3Control::Types::S3AccessControlPolicy

Inherits:
Struct
  • Object
show all
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_listTypes::S3AccessControlList



5214
5215
5216
5217
5218
5219
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5214

class S3AccessControlPolicy < Struct.new(
  :access_control_list,
  :canned_access_control_list)
  SENSITIVE = []
  include Aws::Structure
end

#canned_access_control_listString

Returns:

  • (String)


5214
5215
5216
5217
5218
5219
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5214

class S3AccessControlPolicy < Struct.new(
  :access_control_list,
  :canned_access_control_list)
  SENSITIVE = []
  include Aws::Structure
end