Skip to content

Commit

Permalink
Clarify LocationConstraint parameter (#991)
Browse files Browse the repository at this point in the history
Close #988.
  • Loading branch information
roman-khimov authored Aug 29, 2024
2 parents cca617b + 4f10336 commit 1e8d690
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/aws_s3_compat.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ See also `GetObject` and other method parameters.
| 🟢 | ListBuckets | |
| 🔵 | PutPublicAccessBlock | |
* `CreateBucket` method allows you to select a placement policy using the `LocationConstraint` parameter in the AWS CLI. The policy name should be passed as a value.
* Policies mapping can be defined via:
* [Authmate](./authmate.md#containers-policy) during bucket creation. These policies are available only for generated credentials.
* [Gate configuration](./configuration.md#placement_policy-section). These policies are shared and available for all gate clients.
* Example: aws s3api create-bucket --bucket $BUCKET --endpoint $S3HOST --create-bucket-configuration LocationConstraint=$POLICY_NAME
## Acceleration
| | Method | Comments |
Expand Down

0 comments on commit 1e8d690

Please sign in to comment.