Interface CfnBucket.IS3KeyFilterProperty
A container for object key name prefix and suffix filtering rules.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IS3KeyFilterProperty
Syntax (vb)
Public Interface IS3KeyFilterProperty
Remarks
For more information about object key name filtering, see Configuring event notifications using object key name filtering in the Amazon S3 User Guide .
The same type of filter rule cannot be used more than once. For example, you cannot specify two prefix rules.
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 s3KeyFilterProperty = new S3KeyFilterProperty {
Rules = new [] { new FilterRuleProperty {
Name = "name",
Value = "value"
} }
};
Synopsis
Properties
Rules | A list of containers for the key-value pair that defines the criteria for the filter rule. |
Properties
Rules
A list of containers for the key-value pair that defines the criteria for the filter rule.
object Rules { get; }
Property Value
System.Object