BucketReplicationConfigurationRuleArgs

data class BucketReplicationConfigurationRuleArgs(val deleteMarkerReplicationStatus: Output<String>? = null, val destination: Output<BucketReplicationConfigurationRuleDestinationArgs>, val filter: Output<BucketReplicationConfigurationRuleFilterArgs>? = null, val id: Output<String>? = null, val prefix: Output<String>? = null, val priority: Output<Int>? = null, val sourceSelectionCriteria: Output<BucketReplicationConfigurationRuleSourceSelectionCriteriaArgs>? = null, val status: Output<String>) : ConvertibleToJava<BucketReplicationConfigurationRuleArgs>

Constructors

Link copied to clipboard
constructor(deleteMarkerReplicationStatus: Output<String>? = null, destination: Output<BucketReplicationConfigurationRuleDestinationArgs>, filter: Output<BucketReplicationConfigurationRuleFilterArgs>? = null, id: Output<String>? = null, prefix: Output<String>? = null, priority: Output<Int>? = null, sourceSelectionCriteria: Output<BucketReplicationConfigurationRuleSourceSelectionCriteriaArgs>? = null, status: Output<String>)

Properties

Link copied to clipboard

Whether delete markers are replicated. The only valid value is Enabled. To disable, omit this argument. This argument is only valid with V2 replication configurations (i.e., when filter is used).

Link copied to clipboard

Specifies the destination for the rule (documented below).

Link copied to clipboard

Filter that identifies subset of objects to which the replication rule applies (documented below).

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 keyname prefix identifying one or more objects to which the rule applies. Must be less than or equal to 1024 characters in length.

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

The 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 (documented below).

Link copied to clipboard
val status: Output<String>

The 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(): BucketReplicationConfigurationRuleArgs