amazonka-cloudformation-1.3.2: Amazon CloudFormation SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

See: AWS API Reference for GetStackPolicy.

Synopsis

Creating a Request

getStackPolicy Source

Creates a value of GetStackPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

gspStackName :: Lens' GetStackPolicy Text Source

The name or unique stack ID that is associated with the stack whose policy you want to get.

Destructuring the Response

getStackPolicyResponse Source

Creates a value of GetStackPolicyResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

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