I want to limit a user to a specific database. User should be able to do all the actions to that database and its tables.
All the examples I found in the documentations limit the Action, but never Resource.
The example below gives user access to all the databases and tables. What should be put in Resource
field to restrict access to a single database?
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"glue:*"
],
"Effect": "Allow",
"Resource": [
"*"
]
},
]
}