Difference between revisions of "Aws s3api get-bucket-policy"

From wikieduonline
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
https://docs.aws.amazon.com/cli/latest/reference/s3api/get-bucket-policy.html
 
https://docs.aws.amazon.com/cli/latest/reference/s3api/get-bucket-policy.html
  
* <code>[[aws s3api get-bucket-policy --bucket]]</code>
+
* <code>[[aws s3api get-bucket-policy --bucket]] YOUR_BUCKET_NAME</code>
 +
 
 +
== Errors ==
 +
aws s3api get-bucket-policy --bucket YOUR_BUCKET_NAME
 +
[[An error occurred]] ([[NoSuchBucketPolicy]]) when calling the [[GetBucketPolicy]] operation: The bucket policy does not exist
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[aws s3 ls]]</code>
 
* <code>[[aws s3 ls]]</code>
 +
* [[AWS policy]]
 +
* Terraform resource: <code>[[Terraform resources: aws s3 bucket policy|aws_s3_bucket_policy]]</code>
 +
* <code>[[aws s3api get-bucket-acl]]</code>
 +
* <code>[[aws s3api get-bucket-policy-status]]</code>
 +
* <code>[[aws s3api put-bucket-policy]]</code>
 +
* <code>[[aws s3api get-bucket-tagging]] --bucket YOUR_BUCKET_NAME</code>
 +
* <code>[[aws s3api get-bucket-versioning]]</code>
 +
* <code>[[aws list all]]</code>
  
 
==See also==
 
==See also==

Latest revision as of 14:40, 25 January 2024

Advertising: