get_resource_policy
Retrieves the resource-based policy document attached to a DynamoDB table or stream in JSON format, enabling you to inspect and audit access permissions.
Instructions
Returns the resource-based policy document attached to a DynamoDB table or stream in JSON format.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource_arn": "<resource_arn>"
},
"name": "get_resource_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_name | No | The aws region to run the tool | |
| resource_arn | Yes | The Amazon Resource Name (ARN) of the DynamoDB resource |