aws glue put-resource-policy
Sets the Data Catalog resource policy for access control. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--enable-hybridIf 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources: By directly updating the resource policy with PutResourePolicy By using the Grant permissions command on the Amazon Web Services Management Console.--policy-exists-conditionA value of MUST_EXIST is used to update a policy.--policy-hash-conditionThe hash value returned when the previous policy was set using PutResourcePolicy.--policy-in-jsonContains the policy document to set, in JSON format.--resource-arnDo not use.