ObjectCopyGrant

data class ObjectCopyGrant(val email: String? = null, val id: String? = null, val permissions: List<String>, val type: String, val uri: String? = null)

Constructors

Link copied to clipboard
constructor(email: String? = null, id: String? = null, permissions: List<String>, type: String, uri: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val email: String? = null

Email address of the grantee. Used only when type is AmazonCustomerByEmail.

Link copied to clipboard
val id: String? = null

Canonical user ID of the grantee. Used only when type is CanonicalUser.

Link copied to clipboard

List of permissions to grant to grantee. Valid values are READ, READ_ACP, WRITE_ACP, FULL_CONTROL.

Link copied to clipboard

Type of grantee. Valid values are CanonicalUser, Group, and AmazonCustomerByEmail. This configuration block has the following optional arguments (one of the three is required):

Link copied to clipboard
val uri: String? = null

URI of the grantee group. Used only when type is Group.