| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.CloudFormation.GetStackPolicy
Description
Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned.
http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_GetStackPolicy.html
Request
data GetStackPolicy Source
Request constructor
Arguments
| :: Text | |
| -> GetStackPolicy |
GetStackPolicy constructor.
The fields accessible through corresponding lenses are:
gspStackName::Text
Request lenses
gspStackName :: Lens' GetStackPolicy Text Source
The name or stack ID that is associated with the stack whose policy you want to get.
Response
Response constructor
getStackPolicyResponse :: GetStackPolicyResponse Source
GetStackPolicyResponse constructor.
The fields accessible through corresponding lenses are:
Response lenses
gsprStackPolicyBody :: Lens' GetStackPolicyResponse (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.)