ObjectCopyGrantArgs

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

Constructors

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

Properties

Link copied to clipboard
val email: Output<String>? = null

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

Link copied to clipboard
val id: Output<String>? = null

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

Link copied to clipboard
val permissions: Output<List<String>>

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

Link copied to clipboard
val type: Output<String>

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: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): ObjectCopyGrantArgs