CmdID / aws / aws lakeformation
aws lakeformation attach-rls-policy
Attaches a row-level security policy to a resource for a principal. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--conditionA Lake Formation condition, which applies to the row-level security policy attachment and contains an expression.--nameThe name of the row-level security policy to attach.--principalThe principal to which the row-level security policy applies.--resourceThe resource to which the row-level security policy is attached.--set-defaultIndicates whether this policy becomes the default row-level security policy for the resource.