Set Stack Policy

GET {{aws_cloudformation_base_url}}/?StackName&StackPolicyBody&StackPolicyURL&Action=SetStackPolicy

Request Params

KeyDatatypeRequiredDescription
StackNamenullThe name or unique stack ID that you want to associate a policy with.
StackPolicyBodynullStructure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the AWS CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.
StackPolicyURLnullLocation of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same region as the stack. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.
Actionstring