1 Answer
- Newest
- Most votes
- Most comments
0
【以下的回答经过翻译处理】 根据 API 文档,您的配置似乎缺少一个后缀元素 - https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html
如果您查看 JavaScript 示例 - https://docs.aws.amazon.com/code-library/latest/ug/s3_example_s3_PutBucketWebsite_section.html,您的 JSON 应该类似于
{ "Bucket": "thetest1", "WebsiteConfiguration": { "ErrorDocument": { "Key": "SomeErrorDocument.html" }, "IndexDocument": { "Suffix": "index.html" } } }
Relevant content
- asked 4 months ago
- asked a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 5 months ago