Difference between revisions of "Aws s3api get-bucket-policy"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | https://docs.aws.amazon.com/cli/latest/reference/s3api/get-bucket-policy.html | ||
+ | * <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 == | ||
+ | * <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
https://docs.aws.amazon.com/cli/latest/reference/s3api/get-bucket-policy.html
aws s3api get-bucket-policy --bucket YOUR_BUCKET_NAME
Errors[edit]
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[edit]
aws s3 ls
- AWS policy
- Terraform resource:
aws_s3_bucket_policy
aws s3api get-bucket-acl
aws s3api get-bucket-policy-status
aws s3api put-bucket-policy
aws s3api get-bucket-tagging --bucket YOUR_BUCKET_NAME
aws s3api get-bucket-versioning
aws list all
See also[edit]
- AWS S3:
s3api
|list-buckets
|get-bucket-website
|get-bucket-policy
|create-bucket
|put-bucket-encryption
|aws s3api put-bucket-policy
|get-bucket-acl
|get-bucket-versioning
|get-bucket-location
|put-bucket-versioning | get-bucket-tagging | head-bucket | put-object-lock-configuration
- AWS S3:
aws s3control
.aws s3
[cp | ls
|sync | presing
|mb | rm | rb
]
Advertising: