You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::S3Control::Types::S3Grant
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::S3Grant
- Defined in:
- (unknown)
Overview
Note:
When passing S3Grant as input to an Aws::Client method, you can use a vanilla 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
}
Instance Attribute Summary collapse
-
#grantee ⇒ Types::S3Grantee
-
#permission ⇒ String
Possible values:
- FULL_CONTROL
- READ
- WRITE
- READ_ACP
- WRITE_ACP
.
Instance Attribute Details
#grantee ⇒ Types::S3Grantee
#permission ⇒ String
Possible values:
- FULL_CONTROL
- READ
- WRITE
- READ_ACP
- WRITE_ACP