module Stratosphere.EMRServerless.Application.CloudWatchLoggingConfigurationProperty (
        module Exports, CloudWatchLoggingConfigurationProperty(..),
        mkCloudWatchLoggingConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.EMRServerless.Application.LogTypeMapKeyValuePairProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data CloudWatchLoggingConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-cloudwatchloggingconfiguration.html>
    CloudWatchLoggingConfigurationProperty {CloudWatchLoggingConfigurationProperty -> ()
haddock_workaround_ :: (),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-cloudwatchloggingconfiguration.html#cfn-emrserverless-application-cloudwatchloggingconfiguration-enabled>
                                            CloudWatchLoggingConfigurationProperty -> Maybe (Value Bool)
enabled :: (Prelude.Maybe (Value Prelude.Bool)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-cloudwatchloggingconfiguration.html#cfn-emrserverless-application-cloudwatchloggingconfiguration-encryptionkeyarn>
                                            CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
encryptionKeyArn :: (Prelude.Maybe (Value Prelude.Text)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-cloudwatchloggingconfiguration.html#cfn-emrserverless-application-cloudwatchloggingconfiguration-loggroupname>
                                            CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logGroupName :: (Prelude.Maybe (Value Prelude.Text)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-cloudwatchloggingconfiguration.html#cfn-emrserverless-application-cloudwatchloggingconfiguration-logstreamnameprefix>
                                            CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logStreamNamePrefix :: (Prelude.Maybe (Value Prelude.Text)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-cloudwatchloggingconfiguration.html#cfn-emrserverless-application-cloudwatchloggingconfiguration-logtypemap>
                                            CloudWatchLoggingConfigurationProperty
-> Maybe [LogTypeMapKeyValuePairProperty]
logTypeMap :: (Prelude.Maybe [LogTypeMapKeyValuePairProperty])}
  deriving stock (CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty -> Bool
(CloudWatchLoggingConfigurationProperty
 -> CloudWatchLoggingConfigurationProperty -> Bool)
-> (CloudWatchLoggingConfigurationProperty
    -> CloudWatchLoggingConfigurationProperty -> Bool)
-> Eq CloudWatchLoggingConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty -> Bool
== :: CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty -> Bool
$c/= :: CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty -> Bool
/= :: CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty -> Bool
Prelude.Eq, Int -> CloudWatchLoggingConfigurationProperty -> ShowS
[CloudWatchLoggingConfigurationProperty] -> ShowS
CloudWatchLoggingConfigurationProperty -> String
(Int -> CloudWatchLoggingConfigurationProperty -> ShowS)
-> (CloudWatchLoggingConfigurationProperty -> String)
-> ([CloudWatchLoggingConfigurationProperty] -> ShowS)
-> Show CloudWatchLoggingConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> CloudWatchLoggingConfigurationProperty -> ShowS
showsPrec :: Int -> CloudWatchLoggingConfigurationProperty -> ShowS
$cshow :: CloudWatchLoggingConfigurationProperty -> String
show :: CloudWatchLoggingConfigurationProperty -> String
$cshowList :: [CloudWatchLoggingConfigurationProperty] -> ShowS
showList :: [CloudWatchLoggingConfigurationProperty] -> ShowS
Prelude.Show)
mkCloudWatchLoggingConfigurationProperty ::
  CloudWatchLoggingConfigurationProperty
mkCloudWatchLoggingConfigurationProperty :: CloudWatchLoggingConfigurationProperty
mkCloudWatchLoggingConfigurationProperty
  = CloudWatchLoggingConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), enabled :: Maybe (Value Bool)
enabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       encryptionKeyArn :: Maybe (Value Text)
encryptionKeyArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, logGroupName :: Maybe (Value Text)
logGroupName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       logStreamNamePrefix :: Maybe (Value Text)
logStreamNamePrefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
logTypeMap = Maybe [LogTypeMapKeyValuePairProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties CloudWatchLoggingConfigurationProperty where
  toResourceProperties :: CloudWatchLoggingConfigurationProperty -> ResourceProperties
toResourceProperties CloudWatchLoggingConfigurationProperty {Maybe [LogTypeMapKeyValuePairProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: CloudWatchLoggingConfigurationProperty -> ()
enabled :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Bool)
encryptionKeyArn :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logGroupName :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logStreamNamePrefix :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logTypeMap :: CloudWatchLoggingConfigurationProperty
-> Maybe [LogTypeMapKeyValuePairProperty]
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EMRServerless::Application.CloudWatchLoggingConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enabled,
                            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
"EncryptionKeyArn" (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)
encryptionKeyArn,
                            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
"LogGroupName" (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)
logGroupName,
                            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
"LogStreamNamePrefix" (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)
logStreamNamePrefix,
                            Key -> [LogTypeMapKeyValuePairProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LogTypeMap" ([LogTypeMapKeyValuePairProperty] -> (Key, Value))
-> Maybe [LogTypeMapKeyValuePairProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [LogTypeMapKeyValuePairProperty]
logTypeMap])}
instance JSON.ToJSON CloudWatchLoggingConfigurationProperty where
  toJSON :: CloudWatchLoggingConfigurationProperty -> Value
toJSON CloudWatchLoggingConfigurationProperty {Maybe [LogTypeMapKeyValuePairProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: CloudWatchLoggingConfigurationProperty -> ()
enabled :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Bool)
encryptionKeyArn :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logGroupName :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logStreamNamePrefix :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logTypeMap :: CloudWatchLoggingConfigurationProperty
-> Maybe [LogTypeMapKeyValuePairProperty]
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enabled,
               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
"EncryptionKeyArn" (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)
encryptionKeyArn,
               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
"LogGroupName" (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)
logGroupName,
               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
"LogStreamNamePrefix" (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)
logStreamNamePrefix,
               Key -> [LogTypeMapKeyValuePairProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LogTypeMap" ([LogTypeMapKeyValuePairProperty] -> (Key, Value))
-> Maybe [LogTypeMapKeyValuePairProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [LogTypeMapKeyValuePairProperty]
logTypeMap]))
instance Property "Enabled" CloudWatchLoggingConfigurationProperty where
  type PropertyType "Enabled" CloudWatchLoggingConfigurationProperty = Value Prelude.Bool
  set :: PropertyType "Enabled" CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty
set PropertyType "Enabled" CloudWatchLoggingConfigurationProperty
newValue CloudWatchLoggingConfigurationProperty {Maybe [LogTypeMapKeyValuePairProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: CloudWatchLoggingConfigurationProperty -> ()
enabled :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Bool)
encryptionKeyArn :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logGroupName :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logStreamNamePrefix :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logTypeMap :: CloudWatchLoggingConfigurationProperty
-> Maybe [LogTypeMapKeyValuePairProperty]
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
..}
    = CloudWatchLoggingConfigurationProperty
        {enabled :: Maybe (Value Bool)
enabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Enabled" CloudWatchLoggingConfigurationProperty
Value Bool
newValue, Maybe [LogTypeMapKeyValuePairProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
haddock_workaround_ :: ()
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
..}
instance Property "EncryptionKeyArn" CloudWatchLoggingConfigurationProperty where
  type PropertyType "EncryptionKeyArn" CloudWatchLoggingConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "EncryptionKeyArn" CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty
set PropertyType
  "EncryptionKeyArn" CloudWatchLoggingConfigurationProperty
newValue CloudWatchLoggingConfigurationProperty {Maybe [LogTypeMapKeyValuePairProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: CloudWatchLoggingConfigurationProperty -> ()
enabled :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Bool)
encryptionKeyArn :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logGroupName :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logStreamNamePrefix :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logTypeMap :: CloudWatchLoggingConfigurationProperty
-> Maybe [LogTypeMapKeyValuePairProperty]
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
..}
    = CloudWatchLoggingConfigurationProperty
        {encryptionKeyArn :: Maybe (Value Text)
encryptionKeyArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "EncryptionKeyArn" CloudWatchLoggingConfigurationProperty
Value Text
newValue, Maybe [LogTypeMapKeyValuePairProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
..}
instance Property "LogGroupName" CloudWatchLoggingConfigurationProperty where
  type PropertyType "LogGroupName" CloudWatchLoggingConfigurationProperty = Value Prelude.Text
  set :: PropertyType "LogGroupName" CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty
set PropertyType "LogGroupName" CloudWatchLoggingConfigurationProperty
newValue CloudWatchLoggingConfigurationProperty {Maybe [LogTypeMapKeyValuePairProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: CloudWatchLoggingConfigurationProperty -> ()
enabled :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Bool)
encryptionKeyArn :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logGroupName :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logStreamNamePrefix :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logTypeMap :: CloudWatchLoggingConfigurationProperty
-> Maybe [LogTypeMapKeyValuePairProperty]
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
..}
    = CloudWatchLoggingConfigurationProperty
        {logGroupName :: Maybe (Value Text)
logGroupName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LogGroupName" CloudWatchLoggingConfigurationProperty
Value Text
newValue, Maybe [LogTypeMapKeyValuePairProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
..}
instance Property "LogStreamNamePrefix" CloudWatchLoggingConfigurationProperty where
  type PropertyType "LogStreamNamePrefix" CloudWatchLoggingConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "LogStreamNamePrefix" CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty
set PropertyType
  "LogStreamNamePrefix" CloudWatchLoggingConfigurationProperty
newValue CloudWatchLoggingConfigurationProperty {Maybe [LogTypeMapKeyValuePairProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: CloudWatchLoggingConfigurationProperty -> ()
enabled :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Bool)
encryptionKeyArn :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logGroupName :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logStreamNamePrefix :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logTypeMap :: CloudWatchLoggingConfigurationProperty
-> Maybe [LogTypeMapKeyValuePairProperty]
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
..}
    = CloudWatchLoggingConfigurationProperty
        {logStreamNamePrefix :: Maybe (Value Text)
logStreamNamePrefix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "LogStreamNamePrefix" CloudWatchLoggingConfigurationProperty
Value Text
newValue, Maybe [LogTypeMapKeyValuePairProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
..}
instance Property "LogTypeMap" CloudWatchLoggingConfigurationProperty where
  type PropertyType "LogTypeMap" CloudWatchLoggingConfigurationProperty = [LogTypeMapKeyValuePairProperty]
  set :: PropertyType "LogTypeMap" CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty
-> CloudWatchLoggingConfigurationProperty
set PropertyType "LogTypeMap" CloudWatchLoggingConfigurationProperty
newValue CloudWatchLoggingConfigurationProperty {Maybe [LogTypeMapKeyValuePairProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: CloudWatchLoggingConfigurationProperty -> ()
enabled :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Bool)
encryptionKeyArn :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logGroupName :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logStreamNamePrefix :: CloudWatchLoggingConfigurationProperty -> Maybe (Value Text)
logTypeMap :: CloudWatchLoggingConfigurationProperty
-> Maybe [LogTypeMapKeyValuePairProperty]
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
..}
    = CloudWatchLoggingConfigurationProperty
        {logTypeMap :: Maybe [LogTypeMapKeyValuePairProperty]
logTypeMap = [LogTypeMapKeyValuePairProperty]
-> Maybe [LogTypeMapKeyValuePairProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [LogTypeMapKeyValuePairProperty]
PropertyType "LogTypeMap" CloudWatchLoggingConfigurationProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
encryptionKeyArn :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
logStreamNamePrefix :: Maybe (Value Text)
..}