DynamoDB - Security and Access Control
You wrote this IAM policy to restrict access to items with partition key 'user456', but users still access other items:
What is the likely error?
{
"Effect": "Allow",
"Action": "dynamodb:GetItem",
"Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders",
"Condition": {
"StringEquals": {
"dynamodb:LeadingKeys": "user456"
}
}
}What is the likely error?
