July 01, 2025

disable dynamoDB table

I have DynamoDB table called "autocorrect" and I need to stop all traffic to/ from this table. I can use resouce-based policy like this...

{
  "Version": "2012-10-17",
  "Id": "PolicyId",
  "Statement": [
    {
      "Sid": "AccessDisabledTemporary",
      "Effect": "Deny",
      "Principal": "*",
      "Action": "dynamodb:*",
      "Resource": "arn:aws:dynamodb:us-east-1:XXXX85053566:table/autocorrect"
    }
  ]
}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.