An S3 VPC endpoint policy that restricts access through the S3 endpoint to users in a specific account

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "s3:*"
            ],
            "Principal": "*",
            "Resource": [
                "*"
            ],
            "Effect": "Allow",
            "Condition": {
                "ArnEquals": {
                    "aws:PrincipalAccount": ""
                }
            }
        }
    ]
}

Actions



Customize Template

Custommize Policy

* Required field