Class CfnBucket.FilterRuleProperty
Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or prefix of the key name.
Inheritance
System.Object
CfnBucket.FilterRuleProperty
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class FilterRuleProperty : Object, CfnBucket.IFilterRuleProperty
Syntax (vb)
Public Class FilterRuleProperty
Inherits Object
Implements CfnBucket.IFilterRuleProperty
Remarks
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 filterRuleProperty = new FilterRuleProperty {
Name = "name",
Value = "value"
};
Synopsis
Constructors
FilterRuleProperty() |
Properties
Name | The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. |
Value | The value that the filter searches for in object key names. |
Constructors
FilterRuleProperty()
public FilterRuleProperty()
Properties
Name
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies.
public string Name { get; set; }
Property Value
System.String
Remarks
The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon S3 User Guide .
Value
The value that the filter searches for in object key names.
public string Value { get; set; }
Property Value
System.String