Skip to content

Returns the stack policy for a specified stack

Description

Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned.

Usage

cloudformation_get_stack_policy(StackName)

Arguments

  • StackName

    [required] The name or unique stack ID that's associated with the stack whose policy you want to get.

Value

A list with the following syntax:

list(
  StackPolicyBody = "string"
)

Request syntax

svc$get_stack_policy(
  StackName = "string"
)