AWS SDK Version 3 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.

If provided, the generated manifest includes only source bucket objects whose object keys match the string constraints specified for MatchAnyPrefix, MatchAnySuffix, and MatchAnySubstring.

Inheritance Hierarchy

System.Object
  Amazon.S3Control.Model.KeyNameConstraint

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

Syntax

C#
public class KeyNameConstraint

The KeyNameConstraint type exposes the following members

Constructors

NameDescription
Public Method KeyNameConstraint()

Properties

NameTypeDescription
Public Property MatchAnyPrefix System.Collections.Generic.List<System.String>

Gets and sets the property MatchAnyPrefix.

If provided, the generated manifest includes objects where the specified string appears at the start of the object key string. Each KeyNameConstraint filter accepts an array of strings with a length of 1 string.

Public Property MatchAnySubstring System.Collections.Generic.List<System.String>

Gets and sets the property MatchAnySubstring.

If provided, the generated manifest includes objects where the specified string appears anywhere within the object key string. Each KeyNameConstraint filter accepts an array of strings with a length of 1 string.

Public Property MatchAnySuffix System.Collections.Generic.List<System.String>

Gets and sets the property MatchAnySuffix.

If provided, the generated manifest includes objects where the specified string appears at the end of the object key string. Each KeyNameConstraint filter accepts an array of strings with a length of 1 string.

Version Information

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

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5