amazonka-cloudformation-0.0.6: Amazon CloudFormation SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudFormation.GetStackPolicy

Contents

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

Synopsis

Request

Request constructor

getStackPolicy Source

GetStackPolicy constructor.

The fields accessible through corresponding lenses are:

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.)