splice machine s3 access code example
Example: splice machine s3 access
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:GetObjectVersion",
"s3:DeleteObject",
"s3:DeleteObjectVersion"
],
"Resource": "arn:aws:s3:::<bucket_name>/<prefix>/*"
},
{
"Effect": "Allow",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::<bucket_name>",
"Condition": {
"StringLike": {
"s3:prefix": [
"<prefix>/*"
]
}
}
},
{
"Effect": "Allow",
"Action": "s3:GetAccelerateConfiguration",
"Resource": "arn:aws:s3:::<bucket_name>"
}
]
}