[AWS]IAMユーザーで特定バケットにしかアクセスできないようにする

LINEで送る
Pocket

  • ポリシー
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "s3:ListAllMyBuckets",
            "Resource": "*"
        },
        {
            "Effect": "Allow",
            "Action": "s3:*",
            "Resource": [
                "arn:aws:s3:::adachin-test",
                "arn:aws:s3:::adachin-test/*"
            ]
        }
    ]
}

 

Was this helpful?

0 / 0

コメントを残す 0

Your email address will not be published. Required fields are marked *