class Aws::CloudFormation::Types::SetStackPolicyInput

The input for the SetStackPolicy action.

@note When making an API call, you may pass SetStackPolicyInput

data as a hash:

    {
      stack_name: "StackName", # required
      stack_policy_body: "StackPolicyBody",
      stack_policy_url: "StackPolicyURL",
    }

@!attribute [rw] stack_name

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

@!attribute [rw] stack_policy_body

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

[1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html
@return [String]

@!attribute [rw] stack_policy_url

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. You can specify
either the `StackPolicyBody` or the `StackPolicyURL` parameter, but
not both.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyInput AWS API Documentation

Constants

SENSITIVE