BucketReplicationRuleFilterArgs

data class BucketReplicationRuleFilterArgs(val and: Output<BucketReplicationRuleAndOperatorArgs>? = null, val prefix: Output<String>? = null, val tagFilter: Output<BucketTagFilterArgs>? = null) : ConvertibleToJava<BucketReplicationRuleFilterArgs>

A filter that identifies the subset of objects to which the replication rule applies. A `Filter` must specify exactly one `Prefix`, `TagFilter`, or an `And` child element.

Constructors

Link copied to clipboard
constructor(and: Output<BucketReplicationRuleAndOperatorArgs>? = null, prefix: Output<String>? = null, tagFilter: Output<BucketTagFilterArgs>? = null)

Properties

Link copied to clipboard

A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter. For example:

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

An object key name prefix that identifies the subset of objects to which the rule applies. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

Link copied to clipboard
val tagFilter: Output<BucketTagFilterArgs>? = null

A container for specifying a tag key and value. The rule applies only to objects that have the tag in their tag set.

Functions

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