📜  AWS IllegalLocationConstraintException - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:46.878000             🧑  作者: Mango

代码示例1
"""
Regions outside of us-east-1 require the appropriate LocationConstraint to be specified,
in order to create the bucket in the desired region.
"""

aws s3api create-bucket --bucket somename --create-bucket-configuration LocationConstraint=ap-south-1