Interface CfnBucket.ReplicationRuleFilterProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBucket.ReplicationRuleFilterProperty.Jsii$Proxy
Enclosing class:
CfnBucket

@Stability(Stable) public static interface CfnBucket.ReplicationRuleFilterProperty extends software.amazon.jsii.JsiiSerializable
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.s3.*;
 ReplicationRuleFilterProperty replicationRuleFilterProperty = ReplicationRuleFilterProperty.builder()
         .and(ReplicationRuleAndOperatorProperty.builder()
                 .prefix("prefix")
                 .tagFilters(List.of(TagFilterProperty.builder()
                         .key("key")
                         .value("value")
                         .build()))
                 .build())
         .prefix("prefix")
         .tagFilter(TagFilterProperty.builder()
                 .key("key")
                 .value("value")
                 .build())
         .build();
 

See Also: