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 AWS CLI, AWS SDK, or an AWS CloudFormation template.
The following example uses the delete-resource-policy
AWS 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:dynamodb:us-west-2:
123456789012
:table/MusicCollection
Sign in to the AWS Management Console and open the DynamoDB console at https://console.aws.amazon.com/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
confirm
to confirm the delete action. -
Choose Delete.