CommencerCommencer gratuitement

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?

Cet exercice fait partie du cours

Using Data Stores in AWS

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice