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

Contents

Description

Sets a stack policy for a specified stack.

See: AWS API Reference for SetStackPolicy.

Synopsis

Creating a Request

setStackPolicy Source

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:

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

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.