Class CfnBucket.FilterProperty
The container for the filter of the lifecycle rule.
Inheritance
System.Object
CfnBucket.FilterProperty
Implements
Namespace: Amazon.CDK.AWS.S3Outposts
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FilterProperty : Object, CfnBucket.IFilterProperty
Syntax (vb)
Public Class FilterProperty
Inherits Object
Implements CfnBucket.IFilterProperty
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.S3Outposts;
var filterProperty = new FilterProperty {
AndOperator = new FilterAndOperatorProperty {
Tags = new [] { new FilterTagProperty {
Key = "key",
Value = "value"
} },
// the properties below are optional
Prefix = "prefix"
},
Prefix = "prefix",
Tag = new FilterTagProperty {
Key = "key",
Value = "value"
}
};
Synopsis
Constructors
FilterProperty() |
Properties
AndOperator | |
Prefix | Prefix identifies one or more objects to which the rule applies. |
Tag | Tag used to identify a subset of objects for an Amazon S3Outposts bucket. |
Constructors
FilterProperty()
public FilterProperty()
Properties
AndOperator
public object AndOperator { get; set; }
Property Value
System.Object
Remarks
Prefix
Prefix identifies one or more objects to which the rule applies.
public string Prefix { get; set; }
Property Value
System.String
Remarks
Tag
Tag used to identify a subset of objects for an Amazon S3Outposts bucket.
public object Tag { get; set; }
Property Value
System.Object