From 4f103363929d4ade04df2a0630c4d0f9568415ac Mon Sep 17 00:00:00 2001 From: Evgenii Baidakov Date: Wed, 28 Aug 2024 09:05:10 +0400 Subject: [PATCH] docs: Clarify LocationConstraint parameter Close #988. Signed-off-by: Evgenii Baidakov --- docs/aws_s3_compat.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/aws_s3_compat.md b/docs/aws_s3_compat.md index 66866c6b..61ab705f 100644 --- a/docs/aws_s3_compat.md +++ b/docs/aws_s3_compat.md @@ -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 |