module Stratosphere.MediaLive.CloudWatchAlarmTemplate (
        CloudWatchAlarmTemplate(..), mkCloudWatchAlarmTemplate
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data CloudWatchAlarmTemplate
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html>
    CloudWatchAlarmTemplate {CloudWatchAlarmTemplate -> ()
haddock_workaround_ :: (),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-comparisonoperator>
                             CloudWatchAlarmTemplate -> Value Text
comparisonOperator :: (Value Prelude.Text),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-datapointstoalarm>
                             CloudWatchAlarmTemplate -> Maybe (Value Double)
datapointsToAlarm :: (Prelude.Maybe (Value Prelude.Double)),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-description>
                             CloudWatchAlarmTemplate -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-evaluationperiods>
                             CloudWatchAlarmTemplate -> Value Double
evaluationPeriods :: (Value Prelude.Double),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-groupidentifier>
                             CloudWatchAlarmTemplate -> Maybe (Value Text)
groupIdentifier :: (Prelude.Maybe (Value Prelude.Text)),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-metricname>
                             CloudWatchAlarmTemplate -> Value Text
metricName :: (Value Prelude.Text),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-name>
                             CloudWatchAlarmTemplate -> Value Text
name :: (Value Prelude.Text),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-period>
                             CloudWatchAlarmTemplate -> Value Double
period :: (Value Prelude.Double),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-statistic>
                             CloudWatchAlarmTemplate -> Value Text
statistic :: (Value Prelude.Text),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-tags>
                             CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
tags :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-targetresourcetype>
                             CloudWatchAlarmTemplate -> Value Text
targetResourceType :: (Value Prelude.Text),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-threshold>
                             CloudWatchAlarmTemplate -> Value Double
threshold :: (Value Prelude.Double),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-treatmissingdata>
                             CloudWatchAlarmTemplate -> Value Text
treatMissingData :: (Value Prelude.Text)}
  deriving stock (CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate -> Bool
(CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate -> Bool)
-> (CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate -> Bool)
-> Eq CloudWatchAlarmTemplate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate -> Bool
== :: CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate -> Bool
$c/= :: CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate -> Bool
/= :: CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate -> Bool
Prelude.Eq, Int -> CloudWatchAlarmTemplate -> ShowS
[CloudWatchAlarmTemplate] -> ShowS
CloudWatchAlarmTemplate -> String
(Int -> CloudWatchAlarmTemplate -> ShowS)
-> (CloudWatchAlarmTemplate -> String)
-> ([CloudWatchAlarmTemplate] -> ShowS)
-> Show CloudWatchAlarmTemplate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> CloudWatchAlarmTemplate -> ShowS
showsPrec :: Int -> CloudWatchAlarmTemplate -> ShowS
$cshow :: CloudWatchAlarmTemplate -> String
show :: CloudWatchAlarmTemplate -> String
$cshowList :: [CloudWatchAlarmTemplate] -> ShowS
showList :: [CloudWatchAlarmTemplate] -> ShowS
Prelude.Show)
mkCloudWatchAlarmTemplate ::
  Value Prelude.Text
  -> Value Prelude.Double
     -> Value Prelude.Text
        -> Value Prelude.Text
           -> Value Prelude.Double
              -> Value Prelude.Text
                 -> Value Prelude.Text
                    -> Value Prelude.Double
                       -> Value Prelude.Text -> CloudWatchAlarmTemplate
mkCloudWatchAlarmTemplate :: Value Text
-> Value Double
-> Value Text
-> Value Text
-> Value Double
-> Value Text
-> Value Text
-> Value Double
-> Value Text
-> CloudWatchAlarmTemplate
mkCloudWatchAlarmTemplate
  Value Text
comparisonOperator
  Value Double
evaluationPeriods
  Value Text
metricName
  Value Text
name
  Value Double
period
  Value Text
statistic
  Value Text
targetResourceType
  Value Double
threshold
  Value Text
treatMissingData
  = CloudWatchAlarmTemplate
      {haddock_workaround_ :: ()
haddock_workaround_ = (), comparisonOperator :: Value Text
comparisonOperator = Value Text
comparisonOperator,
       evaluationPeriods :: Value Double
evaluationPeriods = Value Double
evaluationPeriods, metricName :: Value Text
metricName = Value Text
metricName,
       name :: Value Text
name = Value Text
name, period :: Value Double
period = Value Double
period, statistic :: Value Text
statistic = Value Text
statistic,
       targetResourceType :: Value Text
targetResourceType = Value Text
targetResourceType, threshold :: Value Double
threshold = Value Double
threshold,
       treatMissingData :: Value Text
treatMissingData = Value Text
treatMissingData,
       datapointsToAlarm :: Maybe (Value Double)
datapointsToAlarm = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       groupIdentifier :: Maybe (Value Text)
groupIdentifier = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe (Map Text (Value Text))
tags = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties CloudWatchAlarmTemplate where
  toResourceProperties :: CloudWatchAlarmTemplate -> ResourceProperties
toResourceProperties CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::MediaLive::CloudWatchAlarmTemplate",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"ComparisonOperator" 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
comparisonOperator,
                            Key
"EvaluationPeriods" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
evaluationPeriods,
                            Key
"MetricName" 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
metricName, Key
"Name" 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
name,
                            Key
"Period" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
period, Key
"Statistic" 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
statistic,
                            Key
"TargetResourceType" 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
targetResourceType,
                            Key
"Threshold" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
threshold,
                            Key
"TreatMissingData" 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
treatMissingData]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DatapointsToAlarm" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
datapointsToAlarm,
                               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
"Description" (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)
description,
                               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
"GroupIdentifier" (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)
groupIdentifier,
                               Key -> Map Text (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
"Tags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
tags]))}
instance JSON.ToJSON CloudWatchAlarmTemplate where
  toJSON :: CloudWatchAlarmTemplate -> Value
toJSON CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value 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
"ComparisonOperator" 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
comparisonOperator,
               Key
"EvaluationPeriods" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
evaluationPeriods,
               Key
"MetricName" 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
metricName, Key
"Name" 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
name,
               Key
"Period" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
period, Key
"Statistic" 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
statistic,
               Key
"TargetResourceType" 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
targetResourceType,
               Key
"Threshold" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
threshold,
               Key
"TreatMissingData" 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
treatMissingData]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DatapointsToAlarm" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
datapointsToAlarm,
                  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
"Description" (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)
description,
                  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
"GroupIdentifier" (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)
groupIdentifier,
                  Key -> Map Text (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
"Tags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
tags])))
instance Property "ComparisonOperator" CloudWatchAlarmTemplate where
  type PropertyType "ComparisonOperator" CloudWatchAlarmTemplate = Value Prelude.Text
  set :: PropertyType "ComparisonOperator" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "ComparisonOperator" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate {comparisonOperator :: Value Text
comparisonOperator = PropertyType "ComparisonOperator" CloudWatchAlarmTemplate
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
haddock_workaround_ :: ()
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
instance Property "DatapointsToAlarm" CloudWatchAlarmTemplate where
  type PropertyType "DatapointsToAlarm" CloudWatchAlarmTemplate = Value Prelude.Double
  set :: PropertyType "DatapointsToAlarm" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "DatapointsToAlarm" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate
        {datapointsToAlarm :: Maybe (Value Double)
datapointsToAlarm = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DatapointsToAlarm" CloudWatchAlarmTemplate
Value Double
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
instance Property "Description" CloudWatchAlarmTemplate where
  type PropertyType "Description" CloudWatchAlarmTemplate = Value Prelude.Text
  set :: PropertyType "Description" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "Description" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" CloudWatchAlarmTemplate
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
instance Property "EvaluationPeriods" CloudWatchAlarmTemplate where
  type PropertyType "EvaluationPeriods" CloudWatchAlarmTemplate = Value Prelude.Double
  set :: PropertyType "EvaluationPeriods" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "EvaluationPeriods" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate {evaluationPeriods :: Value Double
evaluationPeriods = PropertyType "EvaluationPeriods" CloudWatchAlarmTemplate
Value Double
newValue, Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
instance Property "GroupIdentifier" CloudWatchAlarmTemplate where
  type PropertyType "GroupIdentifier" CloudWatchAlarmTemplate = Value Prelude.Text
  set :: PropertyType "GroupIdentifier" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "GroupIdentifier" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate
        {groupIdentifier :: Maybe (Value Text)
groupIdentifier = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "GroupIdentifier" CloudWatchAlarmTemplate
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
instance Property "MetricName" CloudWatchAlarmTemplate where
  type PropertyType "MetricName" CloudWatchAlarmTemplate = Value Prelude.Text
  set :: PropertyType "MetricName" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "MetricName" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate {metricName :: Value Text
metricName = PropertyType "MetricName" CloudWatchAlarmTemplate
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
instance Property "Name" CloudWatchAlarmTemplate where
  type PropertyType "Name" CloudWatchAlarmTemplate = Value Prelude.Text
  set :: PropertyType "Name" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "Name" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate {name :: Value Text
name = PropertyType "Name" CloudWatchAlarmTemplate
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
instance Property "Period" CloudWatchAlarmTemplate where
  type PropertyType "Period" CloudWatchAlarmTemplate = Value Prelude.Double
  set :: PropertyType "Period" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "Period" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate {period :: Value Double
period = PropertyType "Period" CloudWatchAlarmTemplate
Value Double
newValue, Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
instance Property "Statistic" CloudWatchAlarmTemplate where
  type PropertyType "Statistic" CloudWatchAlarmTemplate = Value Prelude.Text
  set :: PropertyType "Statistic" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "Statistic" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate {statistic :: Value Text
statistic = PropertyType "Statistic" CloudWatchAlarmTemplate
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
instance Property "Tags" CloudWatchAlarmTemplate where
  type PropertyType "Tags" CloudWatchAlarmTemplate = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "Tags" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "Tags" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate {tags :: Maybe (Map Text (Value Text))
tags = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "Tags" CloudWatchAlarmTemplate
newValue, Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
instance Property "TargetResourceType" CloudWatchAlarmTemplate where
  type PropertyType "TargetResourceType" CloudWatchAlarmTemplate = Value Prelude.Text
  set :: PropertyType "TargetResourceType" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "TargetResourceType" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate {targetResourceType :: Value Text
targetResourceType = PropertyType "TargetResourceType" CloudWatchAlarmTemplate
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
threshold :: Value Double
treatMissingData :: Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
threshold :: Value Double
treatMissingData :: Value Text
..}
instance Property "Threshold" CloudWatchAlarmTemplate where
  type PropertyType "Threshold" CloudWatchAlarmTemplate = Value Prelude.Double
  set :: PropertyType "Threshold" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "Threshold" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate {threshold :: Value Double
threshold = PropertyType "Threshold" CloudWatchAlarmTemplate
Value Double
newValue, Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
treatMissingData :: Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
treatMissingData :: Value Text
..}
instance Property "TreatMissingData" CloudWatchAlarmTemplate where
  type PropertyType "TreatMissingData" CloudWatchAlarmTemplate = Value Prelude.Text
  set :: PropertyType "TreatMissingData" CloudWatchAlarmTemplate
-> CloudWatchAlarmTemplate -> CloudWatchAlarmTemplate
set PropertyType "TreatMissingData" CloudWatchAlarmTemplate
newValue CloudWatchAlarmTemplate {Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: CloudWatchAlarmTemplate -> ()
comparisonOperator :: CloudWatchAlarmTemplate -> Value Text
datapointsToAlarm :: CloudWatchAlarmTemplate -> Maybe (Value Double)
description :: CloudWatchAlarmTemplate -> Maybe (Value Text)
evaluationPeriods :: CloudWatchAlarmTemplate -> Value Double
groupIdentifier :: CloudWatchAlarmTemplate -> Maybe (Value Text)
metricName :: CloudWatchAlarmTemplate -> Value Text
name :: CloudWatchAlarmTemplate -> Value Text
period :: CloudWatchAlarmTemplate -> Value Double
statistic :: CloudWatchAlarmTemplate -> Value Text
tags :: CloudWatchAlarmTemplate -> Maybe (Map Text (Value Text))
targetResourceType :: CloudWatchAlarmTemplate -> Value Text
threshold :: CloudWatchAlarmTemplate -> Value Double
treatMissingData :: CloudWatchAlarmTemplate -> Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
treatMissingData :: Value Text
..}
    = CloudWatchAlarmTemplate {treatMissingData :: Value Text
treatMissingData = PropertyType "TreatMissingData" CloudWatchAlarmTemplate
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Double)
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
haddock_workaround_ :: ()
comparisonOperator :: Value Text
datapointsToAlarm :: Maybe (Value Double)
description :: Maybe (Value Text)
evaluationPeriods :: Value Double
groupIdentifier :: Maybe (Value Text)
metricName :: Value Text
name :: Value Text
period :: Value Double
statistic :: Value Text
tags :: Maybe (Map Text (Value Text))
targetResourceType :: Value Text
threshold :: Value Double
..}