s3: allow access to bucket

{
    "Version": "2012-10-17",
    "Id": "BucketPolicy",
    "Statement": [
        {
            "Sid": "AllAccess",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:*",
            "Resource": "arn:aws:s3:::aws-flow-logs-010229948043/AWSLogs/010229948043/*",
            "Condition": {
                "StringEquals": {
                    "aws:SourceAccount": "010229948043"
                }
            }
        }
    ]
}

Last updated

Was this helpful?