CloudFormation.Client.set_stack_policy(**kwargs)¶Sets a stack policy for a specified stack.
See also: AWS API Documentation
Request Syntax
response = client.set_stack_policy(
StackName='string',
StackPolicyBody='string',
StackPolicyURL='string'
)
[REQUIRED]
The name or unique stack ID that you want to associate a policy with.
StackPolicyBody or the StackPolicyURL parameter, but not both.StackPolicyBody or the StackPolicyURL parameter, but not both.None