module Stratosphere.ApplicationInsights.Application.ComponentMonitoringSettingProperty (
        module Exports, ComponentMonitoringSettingProperty(..),
        mkComponentMonitoringSettingProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.ApplicationInsights.Application.ComponentConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ComponentMonitoringSettingProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html>
    ComponentMonitoringSettingProperty {ComponentMonitoringSettingProperty -> ()
haddock_workaround_ :: (),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentarn>
                                        ComponentMonitoringSettingProperty -> Maybe (Value Text)
componentARN :: (Prelude.Maybe (Value Prelude.Text)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentconfigurationmode>
                                        ComponentMonitoringSettingProperty -> Value Text
componentConfigurationMode :: (Value Prelude.Text),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentname>
                                        ComponentMonitoringSettingProperty -> Maybe (Value Text)
componentName :: (Prelude.Maybe (Value Prelude.Text)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-customcomponentconfiguration>
                                        ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
customComponentConfiguration :: (Prelude.Maybe ComponentConfigurationProperty),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-defaultoverwritecomponentconfiguration>
                                        ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: (Prelude.Maybe ComponentConfigurationProperty),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-tier>
                                        ComponentMonitoringSettingProperty -> Value Text
tier :: (Value Prelude.Text)}
  deriving stock (ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty -> Bool
(ComponentMonitoringSettingProperty
 -> ComponentMonitoringSettingProperty -> Bool)
-> (ComponentMonitoringSettingProperty
    -> ComponentMonitoringSettingProperty -> Bool)
-> Eq ComponentMonitoringSettingProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty -> Bool
== :: ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty -> Bool
$c/= :: ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty -> Bool
/= :: ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty -> Bool
Prelude.Eq, Int -> ComponentMonitoringSettingProperty -> ShowS
[ComponentMonitoringSettingProperty] -> ShowS
ComponentMonitoringSettingProperty -> String
(Int -> ComponentMonitoringSettingProperty -> ShowS)
-> (ComponentMonitoringSettingProperty -> String)
-> ([ComponentMonitoringSettingProperty] -> ShowS)
-> Show ComponentMonitoringSettingProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ComponentMonitoringSettingProperty -> ShowS
showsPrec :: Int -> ComponentMonitoringSettingProperty -> ShowS
$cshow :: ComponentMonitoringSettingProperty -> String
show :: ComponentMonitoringSettingProperty -> String
$cshowList :: [ComponentMonitoringSettingProperty] -> ShowS
showList :: [ComponentMonitoringSettingProperty] -> ShowS
Prelude.Show)
mkComponentMonitoringSettingProperty ::
  Value Prelude.Text
  -> Value Prelude.Text -> ComponentMonitoringSettingProperty
mkComponentMonitoringSettingProperty :: Value Text -> Value Text -> ComponentMonitoringSettingProperty
mkComponentMonitoringSettingProperty
  Value Text
componentConfigurationMode
  Value Text
tier
  = ComponentMonitoringSettingProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       componentConfigurationMode :: Value Text
componentConfigurationMode = Value Text
componentConfigurationMode,
       tier :: Value Text
tier = Value Text
tier, componentARN :: Maybe (Value Text)
componentARN = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       componentName :: Maybe (Value Text)
componentName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       customComponentConfiguration :: Maybe ComponentConfigurationProperty
customComponentConfiguration = Maybe ComponentConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration = Maybe ComponentConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ComponentMonitoringSettingProperty where
  toResourceProperties :: ComponentMonitoringSettingProperty -> ResourceProperties
toResourceProperties ComponentMonitoringSettingProperty {Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ComponentMonitoringSettingProperty -> ()
componentARN :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
componentConfigurationMode :: ComponentMonitoringSettingProperty -> Value Text
componentName :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
customComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
tier :: ComponentMonitoringSettingProperty -> Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ApplicationInsights::Application.ComponentMonitoringSetting",
         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
"ComponentConfigurationMode" 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
componentConfigurationMode,
                            Key
"Tier" 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
tier]
                           ([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
"ComponentARN" (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)
componentARN,
                               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
"ComponentName" (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)
componentName,
                               Key -> ComponentConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomComponentConfiguration"
                                 (ComponentConfigurationProperty -> (Key, Value))
-> Maybe ComponentConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ComponentConfigurationProperty
customComponentConfiguration,
                               Key -> ComponentConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DefaultOverwriteComponentConfiguration"
                                 (ComponentConfigurationProperty -> (Key, Value))
-> Maybe ComponentConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration]))}
instance JSON.ToJSON ComponentMonitoringSettingProperty where
  toJSON :: ComponentMonitoringSettingProperty -> Value
toJSON ComponentMonitoringSettingProperty {Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ComponentMonitoringSettingProperty -> ()
componentARN :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
componentConfigurationMode :: ComponentMonitoringSettingProperty -> Value Text
componentName :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
customComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
tier :: ComponentMonitoringSettingProperty -> Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: 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
"ComponentConfigurationMode" 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
componentConfigurationMode,
               Key
"Tier" 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
tier]
              ([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
"ComponentARN" (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)
componentARN,
                  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
"ComponentName" (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)
componentName,
                  Key -> ComponentConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomComponentConfiguration"
                    (ComponentConfigurationProperty -> (Key, Value))
-> Maybe ComponentConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ComponentConfigurationProperty
customComponentConfiguration,
                  Key -> ComponentConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DefaultOverwriteComponentConfiguration"
                    (ComponentConfigurationProperty -> (Key, Value))
-> Maybe ComponentConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration])))
instance Property "ComponentARN" ComponentMonitoringSettingProperty where
  type PropertyType "ComponentARN" ComponentMonitoringSettingProperty = Value Prelude.Text
  set :: PropertyType "ComponentARN" ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
set PropertyType "ComponentARN" ComponentMonitoringSettingProperty
newValue ComponentMonitoringSettingProperty {Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ComponentMonitoringSettingProperty -> ()
componentARN :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
componentConfigurationMode :: ComponentMonitoringSettingProperty -> Value Text
componentName :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
customComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
tier :: ComponentMonitoringSettingProperty -> Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
    = ComponentMonitoringSettingProperty
        {componentARN :: Maybe (Value Text)
componentARN = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ComponentARN" ComponentMonitoringSettingProperty
Value Text
newValue, Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
haddock_workaround_ :: ()
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
instance Property "ComponentConfigurationMode" ComponentMonitoringSettingProperty where
  type PropertyType "ComponentConfigurationMode" ComponentMonitoringSettingProperty = Value Prelude.Text
  set :: PropertyType
  "ComponentConfigurationMode" ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
set PropertyType
  "ComponentConfigurationMode" ComponentMonitoringSettingProperty
newValue ComponentMonitoringSettingProperty {Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ComponentMonitoringSettingProperty -> ()
componentARN :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
componentConfigurationMode :: ComponentMonitoringSettingProperty -> Value Text
componentName :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
customComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
tier :: ComponentMonitoringSettingProperty -> Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
    = ComponentMonitoringSettingProperty
        {componentConfigurationMode :: Value Text
componentConfigurationMode = PropertyType
  "ComponentConfigurationMode" ComponentMonitoringSettingProperty
Value Text
newValue, Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
instance Property "ComponentName" ComponentMonitoringSettingProperty where
  type PropertyType "ComponentName" ComponentMonitoringSettingProperty = Value Prelude.Text
  set :: PropertyType "ComponentName" ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
set PropertyType "ComponentName" ComponentMonitoringSettingProperty
newValue ComponentMonitoringSettingProperty {Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ComponentMonitoringSettingProperty -> ()
componentARN :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
componentConfigurationMode :: ComponentMonitoringSettingProperty -> Value Text
componentName :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
customComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
tier :: ComponentMonitoringSettingProperty -> Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
    = ComponentMonitoringSettingProperty
        {componentName :: Maybe (Value Text)
componentName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ComponentName" ComponentMonitoringSettingProperty
Value Text
newValue, Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
instance Property "CustomComponentConfiguration" ComponentMonitoringSettingProperty where
  type PropertyType "CustomComponentConfiguration" ComponentMonitoringSettingProperty = ComponentConfigurationProperty
  set :: PropertyType
  "CustomComponentConfiguration" ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
set PropertyType
  "CustomComponentConfiguration" ComponentMonitoringSettingProperty
newValue ComponentMonitoringSettingProperty {Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ComponentMonitoringSettingProperty -> ()
componentARN :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
componentConfigurationMode :: ComponentMonitoringSettingProperty -> Value Text
componentName :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
customComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
tier :: ComponentMonitoringSettingProperty -> Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
    = ComponentMonitoringSettingProperty
        {customComponentConfiguration :: Maybe ComponentConfigurationProperty
customComponentConfiguration = ComponentConfigurationProperty
-> Maybe ComponentConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "CustomComponentConfiguration" ComponentMonitoringSettingProperty
ComponentConfigurationProperty
newValue, Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
instance Property "DefaultOverwriteComponentConfiguration" ComponentMonitoringSettingProperty where
  type PropertyType "DefaultOverwriteComponentConfiguration" ComponentMonitoringSettingProperty = ComponentConfigurationProperty
  set :: PropertyType
  "DefaultOverwriteComponentConfiguration"
  ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
set PropertyType
  "DefaultOverwriteComponentConfiguration"
  ComponentMonitoringSettingProperty
newValue ComponentMonitoringSettingProperty {Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ComponentMonitoringSettingProperty -> ()
componentARN :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
componentConfigurationMode :: ComponentMonitoringSettingProperty -> Value Text
componentName :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
customComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
tier :: ComponentMonitoringSettingProperty -> Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
    = ComponentMonitoringSettingProperty
        {defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration = ComponentConfigurationProperty
-> Maybe ComponentConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "DefaultOverwriteComponentConfiguration"
  ComponentMonitoringSettingProperty
ComponentConfigurationProperty
newValue,
         Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
instance Property "Tier" ComponentMonitoringSettingProperty where
  type PropertyType "Tier" ComponentMonitoringSettingProperty = Value Prelude.Text
  set :: PropertyType "Tier" ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
-> ComponentMonitoringSettingProperty
set PropertyType "Tier" ComponentMonitoringSettingProperty
newValue ComponentMonitoringSettingProperty {Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ComponentMonitoringSettingProperty -> ()
componentARN :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
componentConfigurationMode :: ComponentMonitoringSettingProperty -> Value Text
componentName :: ComponentMonitoringSettingProperty -> Maybe (Value Text)
customComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: ComponentMonitoringSettingProperty
-> Maybe ComponentConfigurationProperty
tier :: ComponentMonitoringSettingProperty -> Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
tier :: Value Text
..}
    = ComponentMonitoringSettingProperty {tier :: Value Text
tier = PropertyType "Tier" ComponentMonitoringSettingProperty
Value Text
newValue, Maybe (Value Text)
Maybe ComponentConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
haddock_workaround_ :: ()
componentARN :: Maybe (Value Text)
componentConfigurationMode :: Value Text
componentName :: Maybe (Value Text)
customComponentConfiguration :: Maybe ComponentConfigurationProperty
defaultOverwriteComponentConfiguration :: Maybe ComponentConfigurationProperty
..}