CmdID / aws / aws cloudformation
aws cloudformation set-stack-policy
Sets a stack policy for a specified stack. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--stack-nameThe name or unique stack ID that you want to associate a policy with.--stack-policy-bodyStructure that contains the stack policy body.--stack-policy-urlLocation of a file that contains the stack policy.