AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Filter identifying one or more objects to which a Amazon.S3.Model.LifecycleRule applies.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.LifecycleFilter

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class LifecycleFilter

The LifecycleFilter type exposes the following members

Constructors

NameDescription
Public Method LifecycleFilter()

Properties

NameTypeDescription
Public Property And Amazon.S3.Model.LifecycleRuleAndOperator

Gets and sets the property And.

Public Property LifecycleFilterPredicate Amazon.S3.Model.LifecycleFilterPredicate

The predicate used by the filter.

Public Property ObjectSizeGreaterThan System.Nullable<System.Int64>

Gets and sets the property ObjectSizeGreaterThan.

Minimum object size to which the rule applies.

Public Property ObjectSizeLessThan System.Nullable<System.Int64>

Gets and sets the property ObjectSizeLessThan.

Maximum object size to which the rule applies.

Public Property Prefix System.String

Gets and sets the property Prefix.

Prefix identifying one or more objects to which the rule applies.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

Public Property Tag Amazon.S3.Model.Tag

Gets and sets the property Tag.

This tag must exist in the object's tag set in order for the rule to apply.

This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer