Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sets a stack policy for a specified stack.
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:
sspStackPolicyBody
- 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 theStackPolicyBody
or theStackPolicyURL
parameter, but not both.sspStackPolicyURL
- Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same region as the stack. You can specify either theStackPolicyBody
or theStackPolicyURL
parameter, but not both.sspStackName
- The name or unique stack ID that you want to associate a policy with.
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 (maximum size: 16 KB) 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.
data SetStackPolicyResponse Source #
See: setStackPolicyResponse
smart constructor.