Request Parameter of PUT Bucket policy
Type Definition
type SetBucketPolicyInput struct
Parameter Description
Field |
Type |
Optional or Mandatory |
Description |
---|---|---|---|
Bucket |
string |
Mandatory |
Bucket name |
Policy |
string |
Mandatory |
Policy information in JSON format For details about the format, see Policy Format. |
![](https://support.huaweicloud.com/intl/en-us/api-obs_go_sdk_api_en/public_sys-resources/notice_3.0-en-us.png)
The bucket name contained in the Resource field in Policy must be the one specified for the bucket policy.
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