CmdID / aws / aws s3tables
aws s3tables put-table-policy
Creates a new table policy or replaces an existing table policy for a table. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--nameThe name of the table.--namespaceThe namespace associated with the table.--resource-policyThe JSON that defines the policy.--table-bucket-arnThe Amazon Resource Name (ARN) of the table bucket that contains the table.