Safe Haskell | None |
---|---|
Language | Haskell2010 |
Sets a stack policy for a specified stack.
http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetStackPolicy.html
Request
data SetStackPolicy Source
Request constructor
SetStackPolicy
constructor.
The fields accessible through corresponding lenses are:
Request lenses
sspStackName :: Lens' SetStackPolicy Text Source
The name or stack ID that you want to associate a policy with.
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.
Response
Response constructor
setStackPolicyResponse :: SetStackPolicyResponse Source
SetStackPolicyResponse
constructor.