Set Stack Policy
| cloudformation_set_stack_policy | R Documentation |
Sets a stack policy for a specified stack¶
Description¶
Sets a stack policy for a specified stack.
Usage¶
cloudformation_set_stack_policy(StackName, StackPolicyBody,
StackPolicyURL)
Arguments¶
StackName |
[required] The name or unique stack ID that you want to associate a policy with. |
StackPolicyBody |
Structure that contains the stack policy body. For more
information, see Prevent
updates to stack resources in the CloudFormation User
Guide. You can specify either the |
StackPolicyURL |
Location of a file that contains the stack policy. The URL must
point to a policy (maximum size: 16 KB) located in an Amazon S3 bucket
in the same Amazon Web Services Region as the stack. The location for an
Amazon S3 bucket must start with You can specify either the |
Value¶
An empty list.
Request syntax¶
svc$set_stack_policy(
StackName = "string",
StackPolicyBody = "string",
StackPolicyURL = "string"
)