J
J
Jake Taylor2021-12-13 16:51:21
Amazon Web Services
Jake Taylor, 2021-12-13 16:51:21

How to set bucket policy role in aws?

I created an IAM role ( link to create ) with the name role-one.
I created a bucket and went to the Edit bucket policy section and I can't figure out how to apply the role-one role. to this S3 bucket. As I understand it, this is only done using JSON?

If yes, then tell me how to set the role?

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "Statement1",
      "Principal": {},
      "Effect": "Allow",
      "Action": [],
      "Resource": [],
    }
  ]
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question