Request Parameter of PUT Bucket website
Type Definition
type SetBucketWebsiteConfigurationInput struct
Parameter Description
Field |
Type |
Optional or Mandatory |
Description |
---|---|---|---|
Bucket |
string |
Mandatory |
Bucket name |
RedirectAllRequestsTo |
Optional |
Redirection rule of all requests |
|
IndexDocument |
Optional |
Default page configuration, which includes the Suffix field |
|
ErrorDocument |
Optional |
Error page configuration, which includes the Key field |
|
RoutingRules |
Optional |
Redirection rule list |
- ErrorDocument, IndexDocument, and RoutingRules must be used together and they cannot be used with RedirectAllRequestsTo.
- When ErrorDocument, IndexDocument, and RoutingRules are used together, RoutingRules can be nil.
- You must set either these three fields or RedirectAllRequestsTo.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot