BucketAccessControlTranslationArgs

data class BucketAccessControlTranslationArgs(val owner: Output<String>) : ConvertibleToJava<BucketAccessControlTranslationArgs>

Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS-account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS-account that owns the source object.

Constructors

Link copied to clipboard
constructor(owner: Output<String>)

Properties

Link copied to clipboard
val owner: Output<String>

Specifies the replica ownership. For default and valid values, see PUT bucket replication in the Amazon S3 API Reference.

Functions

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