Remove a resource-based policy from a DynamoDB table
You can delete a resource-based policy from an existing table by using the DynamoDB console, DeleteResourcePolicy API, the Amazon CLI, Amazon SDK, or an Amazon CloudFormation template.
The following example uses the delete-resource-policy Amazon CLI command to
remove a resource-based policy from a table named
MusicCollection.
Remember to replace the italicized text with your resource-specific information.
aws dynamodb delete-resource-policy \ --resource-arn arn:aws-cn:dynamodb:us-west-2:123456789012:table/MusicCollection
Sign in to the Amazon Web Services Management Console and open the DynamoDB console at https://console.amazonaws.cn/dynamodb/
. -
On the DynamoDB console dashboard, choose Tables and then select an existing table.
-
Choose Permissions.
-
From the Manage policy dropdown, choose Delete policy.
-
In the Delete resource-based policy for table dialog box, type
confirmto confirm the delete action. -
Choose Delete.