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

.NET Framework 4.5
 
Constructs a new access policy condition that compares an Amazon S3 canned ACL with the canned ACL specified by an incoming request.

You can use this condition to ensure that any objects uploaded to an Amazon S3 bucket have a specific canned ACL set.

Namespace: Amazon.Auth.AccessControlPolicy
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public Condition NewCannedACLCondition(
         S3CannedACL cannedAcl
)

Parameters

cannedAcl
Type: Amazon.S3.S3CannedACL

The Amazon S3 canned ACL to compare against.

Return Value
Type: Amazon.Auth.AccessControlPolicy.Condition
A new access control policy condition that compares the Amazon S3 canned ACL specified in incoming requests against the value specified.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5