Class CfnBucket.S3KeyFilterProperty
A container for object key name prefix and suffix filtering rules.
Inheritance
System.Object
CfnBucket.S3KeyFilterProperty
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class S3KeyFilterProperty : Object, CfnBucket.IS3KeyFilterProperty
Syntax (vb)
Public Class S3KeyFilterProperty
Inherits Object
Implements CfnBucket.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
Constructors
S3KeyFilterProperty() |
Properties
Rules | A list of containers for the key-value pair that defines the criteria for the filter rule. |
Constructors
S3KeyFilterProperty()
public S3KeyFilterProperty()
Properties
Rules
A list of containers for the key-value pair that defines the criteria for the filter rule.
public object Rules { get; set; }
Property Value
System.Object