

# ReplicationRuleNotOperator

A container for specifying a filter that excludes matching objects from the replication rule. Specify exactly one `Prefix`, `Tag`, or `Or` child element.

## Contents
<a name="API_ReplicationRuleNotOperator_Contents"></a>

 ** Or **   <a name="AmazonS3-Type-ReplicationRuleNotOperator-Or"></a>
A container for specifying prefixes and tags. An object is excluded from the replication rule if it matches any of the specified filters.  
Type: [ReplicationRuleOrOperator](API_ReplicationRuleOrOperator.md) data type  
Required: No

 ** Prefix **   <a name="AmazonS3-Type-ReplicationRuleNotOperator-Prefix"></a>
An object key name prefix that identifies objects to exclude from the replication rule.  
Type: String  
Required: No

 ** Tag **   <a name="AmazonS3-Type-ReplicationRuleNotOperator-Tag"></a>
A tag key and value that identify objects to exclude from the replication rule.  
Type: [Tag](API_Tag.md) data type  
Required: No

## See Also
<a name="API_ReplicationRuleNotOperator_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/s3-2006-03-01/ReplicationRuleNotOperator) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/s3-2006-03-01/ReplicationRuleNotOperator) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/s3-2006-03-01/ReplicationRuleNotOperator) 