First of all, create a Policy that allows access to a single S3 bucket that you have, and will look like this:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1528735049406",
"Action": [
"s3:DeleteObject",
"s3:GetObject",
"s3:HeadBucket",
"s3:ListBucket",
"s3:ListObjects",
"s3:PutObject"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::YOURBUCKETNAME"
}
]
}
Save the policy you created just now and then switch to "IAM user" and select the user you want. Click on "Add permission" and then select "Attach existing policies directly", look for your policy and select that.
Looking forward to master AWS? Come & join AWS Certification offered by Intellipaat.