AWS SDK for .NET Documentation
NewS3ObjectResource Method (bucketName, keyPattern)
Amazon ► Amazon.Auth.AccessControlPolicy ► ResourceFactory ► NewS3ObjectResource(String, String)
Did this page help you? Yes No Tell us about it...
Constructs a new object resource that represents the specified objects. The keyPattern argument may contain the '*' wildcard to match multiple objects. For example, an object resource created for bucket 'mybucket' and key pattern 'foo*' will match any object stored in 'mybucket' with a key that starts with 'foo'.
Declaration Syntax

C#

    public static Resource NewS3ObjectResource(
    	string bucketName,
    	string keyPattern
    )

Parameters

bucketName (String)
  The name of the bucket containing the object or objects represented by this resource.

keyPattern (String)
  The key or key pattern, which can optionally contain the '*' wildcard to include multiple objects in the resource.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)