BucketReplicationConfigRuleDestinationArgs

data class BucketReplicationConfigRuleDestinationArgs(val accessControlTranslation: Output<BucketReplicationConfigRuleDestinationAccessControlTranslationArgs>? = null, val account: Output<String>? = null, val bucket: Output<String>, val encryptionConfiguration: Output<BucketReplicationConfigRuleDestinationEncryptionConfigurationArgs>? = null, val metrics: Output<BucketReplicationConfigRuleDestinationMetricsArgs>? = null, val replicationTime: Output<BucketReplicationConfigRuleDestinationReplicationTimeArgs>? = null, val storageClass: Output<String>? = null) : ConvertibleToJava<BucketReplicationConfigRuleDestinationArgs>

Constructors

constructor(accessControlTranslation: Output<BucketReplicationConfigRuleDestinationAccessControlTranslationArgs>? = null, account: Output<String>? = null, bucket: Output<String>, encryptionConfiguration: Output<BucketReplicationConfigRuleDestinationEncryptionConfigurationArgs>? = null, metrics: Output<BucketReplicationConfigRuleDestinationMetricsArgs>? = null, replicationTime: Output<BucketReplicationConfigRuleDestinationReplicationTimeArgs>? = null, storageClass: Output<String>? = null)

Properties

Link copied to clipboard

Configuration block that specifies the overrides to use for object owners on replication. See below. 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. Must be used in conjunction with account owner override configuration.

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

Account ID to specify the replica ownership. Must be used in conjunction with access_control_translation override configuration.

Link copied to clipboard
val bucket: Output<String>

ARN of the bucket where you want Amazon S3 to store the results.

Link copied to clipboard

Configuration block that provides information about encryption. See below. If source_selection_criteria is specified, you must specify this element.

Link copied to clipboard

Configuration block that specifies replication metrics-related settings enabling replication metrics and events. See below.

Link copied to clipboard

Configuration block that specifies 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. See below. Replication Time Control must be used in conjunction with metrics.

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

The storage class used to store the object. By default, Amazon S3 uses the storage class of the source object to create the object replica.

Functions

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