1 Answer
- Newest
- Most votes
- Most comments
0
【以下的回答经过翻译处理】 你好,我想使用以下命令来获取S3桶的区域信息:
aws s3api get-bucket-location --bucket <BUCKET_NAME> --output text ====> <REGION>
然后获取<REGION>信息来构建网站字符串,该字符串非常标准:
http://<BUCKET_NAME>.s3-website.<REGION>.amazonaws.com
希望能对你有所帮助 ;)
Relevant content
- asked 10 months ago
- Accepted Answerasked 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago