AWS S3 & Glue Example IAM Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:GetObjectVersionAcl",
"s3:GetBucketNotification",
"s3:ListMultipartUploadParts",
"s3:PutObject",
"s3:GetObject",
"s3:PutBucketNotification",
"s3:DescribeJob",
"s3:GetAnalyticsConfiguration",
"s3:GetObjectVersionForReplication",
"s3:GetObjectVersionTorrent",
"s3:AbortMultipartUpload",
"s3:GetBucketRequestPayment",
"s3:GetAccessPointPolicyStatus",
"s3:GetBucketPublicAccessBlock",
"s3:GetMultiRegionAccessPointPolicyStatus",
"s3:ListBucketMultipartUploads",
"s3:GetMultiRegionAccessPointPolicy",
"s3:GetAccessPointPolicyStatusForObjectLambda",
"s3:UpdateJobStatus",
"glue:GetDatabases"
],
"Resource": [
"arn:aws:glue:*:<YOUR ACCOUNT NUMBER HERE>:database/*",
"arn:aws:glue:*:<YOUR ACCOUNT NUMBER HERE>:catalog",
"arn:aws:s3:::<YOUR BUCKET NAME HERE>",
"arn:aws:s3:::<YOUR BUCKET NAME HERE>/*"
]
}
]
}
Updated 11 months ago