module Stratosphere.CloudFormation.GuardHook (
        module Exports, GuardHook(..), mkGuardHook
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CloudFormation.GuardHook.OptionsProperty as Exports
import {-# SOURCE #-} Stratosphere.CloudFormation.GuardHook.S3LocationProperty as Exports
import {-# SOURCE #-} Stratosphere.CloudFormation.GuardHook.StackFiltersProperty as Exports
import {-# SOURCE #-} Stratosphere.CloudFormation.GuardHook.TargetFiltersProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data GuardHook
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html>
    GuardHook {GuardHook -> ()
haddock_workaround_ :: (),
               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-alias>
               GuardHook -> Value Text
alias :: (Value Prelude.Text),
               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-executionrole>
               GuardHook -> Value Text
executionRole :: (Value Prelude.Text),
               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-failuremode>
               GuardHook -> Value Text
failureMode :: (Value Prelude.Text),
               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-hookstatus>
               GuardHook -> Value Text
hookStatus :: (Value Prelude.Text),
               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-logbucket>
               GuardHook -> Maybe (Value Text)
logBucket :: (Prelude.Maybe (Value Prelude.Text)),
               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-options>
               GuardHook -> Maybe OptionsProperty
options :: (Prelude.Maybe OptionsProperty),
               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-rulelocation>
               GuardHook -> S3LocationProperty
ruleLocation :: S3LocationProperty,
               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-stackfilters>
               GuardHook -> Maybe StackFiltersProperty
stackFilters :: (Prelude.Maybe StackFiltersProperty),
               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-targetfilters>
               GuardHook -> Maybe TargetFiltersProperty
targetFilters :: (Prelude.Maybe TargetFiltersProperty),
               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-targetoperations>
               GuardHook -> ValueList Text
targetOperations :: (ValueList Prelude.Text)}
  deriving stock (GuardHook -> GuardHook -> Bool
(GuardHook -> GuardHook -> Bool)
-> (GuardHook -> GuardHook -> Bool) -> Eq GuardHook
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GuardHook -> GuardHook -> Bool
== :: GuardHook -> GuardHook -> Bool
$c/= :: GuardHook -> GuardHook -> Bool
/= :: GuardHook -> GuardHook -> Bool
Prelude.Eq, Int -> GuardHook -> ShowS
[GuardHook] -> ShowS
GuardHook -> String
(Int -> GuardHook -> ShowS)
-> (GuardHook -> String)
-> ([GuardHook] -> ShowS)
-> Show GuardHook
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GuardHook -> ShowS
showsPrec :: Int -> GuardHook -> ShowS
$cshow :: GuardHook -> String
show :: GuardHook -> String
$cshowList :: [GuardHook] -> ShowS
showList :: [GuardHook] -> ShowS
Prelude.Show)
mkGuardHook ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text
        -> Value Prelude.Text
           -> S3LocationProperty -> ValueList Prelude.Text -> GuardHook
mkGuardHook :: Value Text
-> Value Text
-> Value Text
-> Value Text
-> S3LocationProperty
-> ValueList Text
-> GuardHook
mkGuardHook
  Value Text
alias
  Value Text
executionRole
  Value Text
failureMode
  Value Text
hookStatus
  S3LocationProperty
ruleLocation
  ValueList Text
targetOperations
  = GuardHook
      {haddock_workaround_ :: ()
haddock_workaround_ = (), alias :: Value Text
alias = Value Text
alias,
       executionRole :: Value Text
executionRole = Value Text
executionRole, failureMode :: Value Text
failureMode = Value Text
failureMode,
       hookStatus :: Value Text
hookStatus = Value Text
hookStatus, ruleLocation :: S3LocationProperty
ruleLocation = S3LocationProperty
ruleLocation,
       targetOperations :: ValueList Text
targetOperations = ValueList Text
targetOperations, logBucket :: Maybe (Value Text)
logBucket = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       options :: Maybe OptionsProperty
options = Maybe OptionsProperty
forall a. Maybe a
Prelude.Nothing, stackFilters :: Maybe StackFiltersProperty
stackFilters = Maybe StackFiltersProperty
forall a. Maybe a
Prelude.Nothing,
       targetFilters :: Maybe TargetFiltersProperty
targetFilters = Maybe TargetFiltersProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties GuardHook where
  toResourceProperties :: GuardHook -> ResourceProperties
toResourceProperties GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CloudFormation::GuardHook",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"Alias" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
alias, Key
"ExecutionRole" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
executionRole,
                            Key
"FailureMode" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
failureMode, Key
"HookStatus" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
hookStatus,
                            Key
"RuleLocation" Key -> S3LocationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= S3LocationProperty
ruleLocation,
                            Key
"TargetOperations" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
targetOperations]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LogBucket" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
logBucket,
                               Key -> OptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Options" (OptionsProperty -> (Key, Value))
-> Maybe OptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OptionsProperty
options,
                               Key -> StackFiltersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StackFilters" (StackFiltersProperty -> (Key, Value))
-> Maybe StackFiltersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe StackFiltersProperty
stackFilters,
                               Key -> TargetFiltersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TargetFilters" (TargetFiltersProperty -> (Key, Value))
-> Maybe TargetFiltersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TargetFiltersProperty
targetFilters]))}
instance JSON.ToJSON GuardHook where
  toJSON :: GuardHook -> Value
toJSON GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"Alias" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
alias, Key
"ExecutionRole" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
executionRole,
               Key
"FailureMode" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
failureMode, Key
"HookStatus" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
hookStatus,
               Key
"RuleLocation" Key -> S3LocationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= S3LocationProperty
ruleLocation,
               Key
"TargetOperations" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
targetOperations]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LogBucket" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
logBucket,
                  Key -> OptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Options" (OptionsProperty -> (Key, Value))
-> Maybe OptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OptionsProperty
options,
                  Key -> StackFiltersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StackFilters" (StackFiltersProperty -> (Key, Value))
-> Maybe StackFiltersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe StackFiltersProperty
stackFilters,
                  Key -> TargetFiltersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TargetFilters" (TargetFiltersProperty -> (Key, Value))
-> Maybe TargetFiltersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TargetFiltersProperty
targetFilters])))
instance Property "Alias" GuardHook where
  type PropertyType "Alias" GuardHook = Value Prelude.Text
  set :: PropertyType "Alias" GuardHook -> GuardHook -> GuardHook
set PropertyType "Alias" GuardHook
newValue GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..} = GuardHook {alias :: Value Text
alias = PropertyType "Alias" GuardHook
Value Text
newValue, Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: ()
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "ExecutionRole" GuardHook where
  type PropertyType "ExecutionRole" GuardHook = Value Prelude.Text
  set :: PropertyType "ExecutionRole" GuardHook -> GuardHook -> GuardHook
set PropertyType "ExecutionRole" GuardHook
newValue GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = GuardHook {executionRole :: Value Text
executionRole = PropertyType "ExecutionRole" GuardHook
Value Text
newValue, Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: ()
alias :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "FailureMode" GuardHook where
  type PropertyType "FailureMode" GuardHook = Value Prelude.Text
  set :: PropertyType "FailureMode" GuardHook -> GuardHook -> GuardHook
set PropertyType "FailureMode" GuardHook
newValue GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = GuardHook {failureMode :: Value Text
failureMode = PropertyType "FailureMode" GuardHook
Value Text
newValue, Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "HookStatus" GuardHook where
  type PropertyType "HookStatus" GuardHook = Value Prelude.Text
  set :: PropertyType "HookStatus" GuardHook -> GuardHook -> GuardHook
set PropertyType "HookStatus" GuardHook
newValue GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..} = GuardHook {hookStatus :: Value Text
hookStatus = PropertyType "HookStatus" GuardHook
Value Text
newValue, Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "LogBucket" GuardHook where
  type PropertyType "LogBucket" GuardHook = Value Prelude.Text
  set :: PropertyType "LogBucket" GuardHook -> GuardHook -> GuardHook
set PropertyType "LogBucket" GuardHook
newValue GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = GuardHook {logBucket :: Maybe (Value Text)
logBucket = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LogBucket" GuardHook
Value Text
newValue, Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "Options" GuardHook where
  type PropertyType "Options" GuardHook = OptionsProperty
  set :: PropertyType "Options" GuardHook -> GuardHook -> GuardHook
set PropertyType "Options" GuardHook
newValue GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = GuardHook {options :: Maybe OptionsProperty
options = OptionsProperty -> Maybe OptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Options" GuardHook
OptionsProperty
newValue, Maybe (Value Text)
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "RuleLocation" GuardHook where
  type PropertyType "RuleLocation" GuardHook = S3LocationProperty
  set :: PropertyType "RuleLocation" GuardHook -> GuardHook -> GuardHook
set PropertyType "RuleLocation" GuardHook
newValue GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = GuardHook {ruleLocation :: S3LocationProperty
ruleLocation = PropertyType "RuleLocation" GuardHook
S3LocationProperty
newValue, Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "StackFilters" GuardHook where
  type PropertyType "StackFilters" GuardHook = StackFiltersProperty
  set :: PropertyType "StackFilters" GuardHook -> GuardHook -> GuardHook
set PropertyType "StackFilters" GuardHook
newValue GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = GuardHook {stackFilters :: Maybe StackFiltersProperty
stackFilters = StackFiltersProperty -> Maybe StackFiltersProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StackFilters" GuardHook
StackFiltersProperty
newValue, Maybe (Value Text)
Maybe OptionsProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "TargetFilters" GuardHook where
  type PropertyType "TargetFilters" GuardHook = TargetFiltersProperty
  set :: PropertyType "TargetFilters" GuardHook -> GuardHook -> GuardHook
set PropertyType "TargetFilters" GuardHook
newValue GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = GuardHook {targetFilters :: Maybe TargetFiltersProperty
targetFilters = TargetFiltersProperty -> Maybe TargetFiltersProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TargetFilters" GuardHook
TargetFiltersProperty
newValue, Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "TargetOperations" GuardHook where
  type PropertyType "TargetOperations" GuardHook = ValueList Prelude.Text
  set :: PropertyType "TargetOperations" GuardHook -> GuardHook -> GuardHook
set PropertyType "TargetOperations" GuardHook
newValue GuardHook {Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
S3LocationProperty
haddock_workaround_ :: GuardHook -> ()
alias :: GuardHook -> Value Text
executionRole :: GuardHook -> Value Text
failureMode :: GuardHook -> Value Text
hookStatus :: GuardHook -> Value Text
logBucket :: GuardHook -> Maybe (Value Text)
options :: GuardHook -> Maybe OptionsProperty
ruleLocation :: GuardHook -> S3LocationProperty
stackFilters :: GuardHook -> Maybe StackFiltersProperty
targetFilters :: GuardHook -> Maybe TargetFiltersProperty
targetOperations :: GuardHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = GuardHook {targetOperations :: ValueList Text
targetOperations = PropertyType "TargetOperations" GuardHook
ValueList Text
newValue, Maybe (Value Text)
Maybe OptionsProperty
Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
Value Text
S3LocationProperty
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
logBucket :: Maybe (Value Text)
options :: Maybe OptionsProperty
ruleLocation :: S3LocationProperty
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
..}