BucketReplicationDestinationArgs

data class BucketReplicationDestinationArgs(val accessControlTranslation: Output<BucketAccessControlTranslationArgs>? = null, val account: Output<String>? = null, val bucket: Output<String>, val encryptionConfiguration: Output<BucketEncryptionConfigurationArgs>? = null, val metrics: Output<BucketMetricsArgs>? = null, val replicationTime: Output<BucketReplicationTimeArgs>? = null, val storageClass: Output<BucketReplicationDestinationStorageClass>? = null) : ConvertibleToJava<BucketReplicationDestinationArgs>

A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC).

Constructors

Link copied to clipboard
constructor(accessControlTranslation: Output<BucketAccessControlTranslationArgs>? = null, account: Output<String>? = null, bucket: Output<String>, encryptionConfiguration: Output<BucketEncryptionConfigurationArgs>? = null, metrics: Output<BucketMetricsArgs>? = null, replicationTime: Output<BucketReplicationTimeArgs>? = null, storageClass: Output<BucketReplicationDestinationStorageClass>? = null)

Properties

Link copied to clipboard

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.

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

Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change replica ownership to the AWS-account that owns the destination bucket by specifying the `AccessControlTranslation` property, this is the account ID of the destination bucket owner. For more information, see Cross-Region Replication Additional Configuration: Change Replica Owner in the Amazon S3 User Guide. If you specify the `AccessControlTranslation` property, the `Account` property is required.

Link copied to clipboard
val bucket: Output<String>

The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.

Link copied to clipboard

Specifies encryption-related information.

Link copied to clipboard
val metrics: Output<BucketMetricsArgs>? = null

A container specifying replication metrics-related settings enabling replication metrics and events.

Link copied to clipboard

A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a `Metrics` block.

Link copied to clipboard

The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica. For valid values, see the `StorageClass` element of the PUT Bucket replication action in the Amazon S3 API Reference.

Functions

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