Class: Aws::S3Control::Types::S3Grant

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 S3Grant data as a hash:

{
  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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#granteeTypes::S3Grantee

Returns:



3883
3884
3885
3886
3887
3888
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3883

class S3Grant < Struct.new(
  :grantee,
  :permission)
  SENSITIVE = []
  include Aws::Structure
end

#permissionString

Returns:

  • (String)


3883
3884
3885
3886
3887
3888
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3883

class S3Grant < Struct.new(
  :grantee,
  :permission)
  SENSITIVE = []
  include Aws::Structure
end