CmdID / aws / aws dynamodb
aws dynamodb put-resource-policy
Attaches a resource-based policy document to the resource, which can be a table or stream. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--confirm-remove-self-resource-accessSet this parameter to true to confirm that you want to remove your permissions to change the policy of this resource in the future.--expected-revision-idA string value that you can use to conditionally update your policy.--policyAn Amazon Web Services resource-based policy document in JSON format.--resource-arnThe Amazon Resource Name (ARN) of the DynamoDB resource to which the policy will be attached.