cloudformation_set_stack_policy: Sets a stack policy for a specified stack

View source: R/cloudformation_operations.R

cloudformation_set_stack_policyR Documentation

Sets a stack policy for a specified stack

Description

Sets a stack policy for a specified stack.

See https://www.paws-r-sdk.com/docs/cloudformation_set_stack_policy/ for full documentation.

Usage

cloudformation_set_stack_policy(
  StackName,
  StackPolicyBody = NULL,
  StackPolicyURL = NULL
)

Arguments

StackName

[required] The name or unique stack ID that you want to associate a policy with.

StackPolicyBody

Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

StackPolicyURL

Location of a file containing 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 ⁠https://⁠. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.