alex_bn_lee

导航

[1046] Different permissions in the AWS S3 policy

The s3:GetObject permission in an AWS S3 policy allows a user to retrieve objects (files) from an S3 bucket. This permission is crucial for read access, enabling users to download or view the contents of the objects stored in the bucket123.

Here’s an example of how s3:GetObject might be used in a policy:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::your-bucket-name/*"
    }
  ]
}

In this example, the policy grants permission to get (read) any object within the specified bucket.

Would you like more details on how to configure this permission? 1: AWS S3 Policy Actions 2: GetObject Permission 3: AWS CLI GetObject

 

posted on 2024-08-27 13:07  McDelfino  阅读(25)  评论(0)    收藏  举报