BucketReplicationConfigRuleArgs

data class BucketReplicationConfigRuleArgs(val deleteMarkerReplication: Output<BucketReplicationConfigRuleDeleteMarkerReplicationArgs>? = null, val destination: Output<BucketReplicationConfigRuleDestinationArgs>, val existingObjectReplication: Output<BucketReplicationConfigRuleExistingObjectReplicationArgs>? = null, val filter: Output<BucketReplicationConfigRuleFilterArgs>? = null, val id: Output<String>? = null, val prefix: Output<String>? = null, val priority: Output<Int>? = null, val sourceSelectionCriteria: Output<BucketReplicationConfigRuleSourceSelectionCriteriaArgs>? = null, val status: Output<String>) : ConvertibleToJava<BucketReplicationConfigRuleArgs>

Constructors

Link copied to clipboard
constructor(deleteMarkerReplication: Output<BucketReplicationConfigRuleDeleteMarkerReplicationArgs>? = null, destination: Output<BucketReplicationConfigRuleDestinationArgs>, existingObjectReplication: Output<BucketReplicationConfigRuleExistingObjectReplicationArgs>? = null, filter: Output<BucketReplicationConfigRuleFilterArgs>? = null, id: Output<String>? = null, prefix: Output<String>? = null, priority: Output<Int>? = null, sourceSelectionCriteria: Output<BucketReplicationConfigRuleSourceSelectionCriteriaArgs>? = null, status: Output<String>)

Properties

Link copied to clipboard

Whether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., when filter is used)documented below.

Link copied to clipboard

Specifies the destination for the rule. See below.

Link copied to clipboard

Replicate existing objects in the source bucket according to the rule configurations. See below.

Link copied to clipboard

Filter that identifies subset of objects to which the replication rule applies. See below. If not specified, the rule will default to using prefix.

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

Unique identifier for the rule. Must be less than or equal to 255 characters in length.

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

Object key name prefix identifying one or more objects to which the rule applies. Must be less than or equal to 1024 characters in length. Defaults to an empty string ("") if filter is not specified.

Link copied to clipboard
val priority: Output<Int>? = null

Priority associated with the rule. Priority should only be set if filter is configured. If not provided, defaults to 0. Priority must be unique between multiple rules.

Link copied to clipboard

Specifies special object selection criteria. See below.

Link copied to clipboard
val status: Output<String>

Status of the rule. Either "Enabled" or "Disabled". The rule is ignored if status is not "Enabled".

Functions

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