From 345a93657836b9cbe0b09329f8e3405ffb33832e Mon Sep 17 00:00:00 2001 From: Leandro Damascena Date: Mon, 6 Feb 2023 16:40:29 +0000 Subject: [PATCH] docs(idempotency): Adding IAM permissions --- docs/utilities/idempotency.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/utilities/idempotency.md b/docs/utilities/idempotency.md index 89cd3003b77..675d0c4f631 100644 --- a/docs/utilities/idempotency.md +++ b/docs/utilities/idempotency.md @@ -26,6 +26,13 @@ times with the same parameters**. This makes idempotent operations safe to retry ## Getting started +### IAM Permissions + +Your Lambda function IAM Role must have `dynamodb:GetItem`, `dynamodb:PutItem`, `dynamodb:UpdateItem` and `dynamodb:DeleteItem` IAM permissions before using this feature. + +???+ note + If you're using our example [AWS Serverless Application Model (SAM)](#required-resources), it already adds the required permissions. + ### Required resources Before getting started, you need to create a persistent storage layer where the idempotency utility can store its state - your lambda functions will need read and write access to it.