Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sets a stack policy for a specified stack.
See: AWS API Reference for SetStackPolicy.
Creating a Request
Creates a value of SetStackPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetStackPolicy Source
The input for the SetStackPolicy action.
See: setStackPolicy
smart constructor.
Request Lenses
sspStackPolicyBody :: Lens' SetStackPolicy (Maybe Text) Source
Structure 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.
sspStackPolicyURL :: Lens' SetStackPolicy (Maybe Text) Source
Location of a file containing the stack policy. The URL must point to a
policy (max size: 16KB) 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.
sspStackName :: Lens' SetStackPolicy Text Source
The name or unique stack ID that you want to associate a policy with.
Destructuring the Response
setStackPolicyResponse :: SetStackPolicyResponse Source
Creates a value of SetStackPolicyResponse
with the minimum fields required to make a request.