Class CfnBucket.ReplicationRuleAndOperatorProperty
A container for specifying rule filters.
Inheritance
System.Object
CfnBucket.ReplicationRuleAndOperatorProperty
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class ReplicationRuleAndOperatorProperty : Object, CfnBucket.IReplicationRuleAndOperatorProperty
Syntax (vb)
Public Class ReplicationRuleAndOperatorProperty
Inherits Object
Implements CfnBucket.IReplicationRuleAndOperatorProperty
Remarks
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:
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
var replicationRuleAndOperatorProperty = new ReplicationRuleAndOperatorProperty {
Prefix = "prefix",
TagFilters = new [] { new TagFilterProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
ReplicationRuleAndOperatorProperty() |
Properties
Prefix | An object key name prefix that identifies the subset of objects to which the rule applies. |
TagFilters | An array of tags containing key and value pairs. |
Constructors
ReplicationRuleAndOperatorProperty()
public ReplicationRuleAndOperatorProperty()
Properties
Prefix
An object key name prefix that identifies the subset of objects to which the rule applies.
public string Prefix { get; set; }
Property Value
System.String
Remarks
TagFilters
An array of tags containing key and value pairs.
public object TagFilters { get; set; }
Property Value
System.Object