Understanding IAM condition keys for DynamoDB
You have a multi-tenant DynamoDB table with tenantId as the partition key. You want to ensure that users can only access data for their own tenant (tenant-123), even if there's a bug in your application code. You're creating an IAM policy for the user's role.
Which IAM policy condition correctly enforces tenant-level isolation?
This exercise is part of the course
Using Data Stores in AWS
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise