I am trying to filter a list of table names in the DynamoDB admin user interface using IAM.
When I use this policy, it displays all the tables:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "XXXXXXX",
"Effect": "Allow",
"Action": [
"dynamodb:DescribeTable",
"dynamodb:ListTables"
],
"Resource": [
"*"
]
}
]
}
When I use this policy, it does not show anything (just the message "Not authorized"):
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "XXXXXXX",
"Effect": "Allow",
"Action": [
"dynamodb:DescribeTable",
"dynamodb:ListTables"
],
"Resource": [
"us-east-1:XXXXXXXXXXX:table/table_to_show"
]
}
]
}
Does anyone know if this is possible?
source
share