| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Stackctl.Action
Description
Actions that can be performed on certain Stack management events
For example, to invoke a Lambda whose name is found in the deploying Stack's outputs after it's been deployed:
Actions:
- on: PostDeploy
run:
InvokeLambdaByStackOutput: OnDeployFunction
Documentation
Instances
| FromJSON Action Source # | |
| ToJSON Action Source # | |
Defined in Stackctl.Action | |
| Generic Action Source # | |
| Show Action Source # | |
| Eq Action Source # | |
| type Rep Action Source # | |
Defined in Stackctl.Action type Rep Action = D1 ('MetaData "Action" "Stackctl.Action" "stackctl-1.4.4.0-BuXgKpWFarC6e0fTbPaTqq" 'False) (C1 ('MetaCons "Action" 'PrefixI 'True) (S1 ('MetaSel ('Just "on") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ActionOn) :*: S1 ('MetaSel ('Just "run") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ActionRun))) | |
Constructors
| PostDeploy |
Constructors
| InvokeLambdaByStackOutput Text | |
| InvokeLambdaByName Text |
runActions :: (MonadResource m, MonadLogger m, MonadReader env m, HasAwsEnv env) => StackName -> ActionOn -> [Action] -> m () Source #