Applies a canned access control list (ACL) to the new bucket.
Declaration Syntax
C# |
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public PutBucketRequest WithCannedACL( S3CannedACL acl )
Parameters
- acl (S3CannedACL)
- The canned ACL to apply; you can specify only one canned ACL in your request
Return Value
The request with the Grants set.
Remarks
You can use either a canned ACL or specify access permissions explicitly. You cannot do both.