| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.CloudFormation.SetStackPolicy
Description
Sets a stack policy for a specified stack.
http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetStackPolicy.html
- data SetStackPolicy
- setStackPolicy :: Text -> SetStackPolicy
- sspStackName :: Lens' SetStackPolicy Text
- sspStackPolicyBody :: Lens' SetStackPolicy (Maybe Text)
- sspStackPolicyURL :: Lens' SetStackPolicy (Maybe Text)
- data SetStackPolicyResponse
- setStackPolicyResponse :: SetStackPolicyResponse
Request
data SetStackPolicy Source
Instances
| Eq SetStackPolicy | |
| Ord SetStackPolicy | |
| Read SetStackPolicy | |
| Show SetStackPolicy | |
| AWSRequest SetStackPolicy | |
| ToQuery SetStackPolicy | |
| ToPath SetStackPolicy | |
| ToHeaders SetStackPolicy | |
| type Sv SetStackPolicy = CloudFormation | |
| type Rs SetStackPolicy = SetStackPolicyResponse |
Request constructor
Arguments
| :: Text | |
| -> SetStackPolicy |
SetStackPolicy constructor.
The fields accessible through corresponding lenses are:
sspStackName::TextsspStackPolicyBody::MaybeTextsspStackPolicyURL::MaybeText
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.