Adds Custom Access Control Lists to the new bucket.
Please refer to S3Grant for information on
S3 Grants.
Remarks
You can use either a canned ACL or specify access permissions explicitly. You cannot do both.
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 WithGrants( params S3Grant[] grants )
Parameters
- grants (array<S3Grant>[]()[][])
- One or more S3 Grants.
Return Value
The request with the Grants set.