module Stratosphere.ECS.Cluster.ExecuteCommandLogConfigurationProperty (
        ExecuteCommandLogConfigurationProperty(..),
        mkExecuteCommandLogConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ExecuteCommandLogConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html>
    ExecuteCommandLogConfigurationProperty {ExecuteCommandLogConfigurationProperty -> ()
haddock_workaround_ :: (),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html#cfn-ecs-cluster-executecommandlogconfiguration-cloudwatchencryptionenabled>
                                            ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
cloudWatchEncryptionEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html#cfn-ecs-cluster-executecommandlogconfiguration-cloudwatchloggroupname>
                                            ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
cloudWatchLogGroupName :: (Prelude.Maybe (Value Prelude.Text)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html#cfn-ecs-cluster-executecommandlogconfiguration-s3bucketname>
                                            ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3BucketName :: (Prelude.Maybe (Value Prelude.Text)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html#cfn-ecs-cluster-executecommandlogconfiguration-s3encryptionenabled>
                                            ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
s3EncryptionEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html#cfn-ecs-cluster-executecommandlogconfiguration-s3keyprefix>
                                            ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3KeyPrefix :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty -> Bool
(ExecuteCommandLogConfigurationProperty
 -> ExecuteCommandLogConfigurationProperty -> Bool)
-> (ExecuteCommandLogConfigurationProperty
    -> ExecuteCommandLogConfigurationProperty -> Bool)
-> Eq ExecuteCommandLogConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty -> Bool
== :: ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty -> Bool
$c/= :: ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty -> Bool
/= :: ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty -> Bool
Prelude.Eq, Int -> ExecuteCommandLogConfigurationProperty -> ShowS
[ExecuteCommandLogConfigurationProperty] -> ShowS
ExecuteCommandLogConfigurationProperty -> String
(Int -> ExecuteCommandLogConfigurationProperty -> ShowS)
-> (ExecuteCommandLogConfigurationProperty -> String)
-> ([ExecuteCommandLogConfigurationProperty] -> ShowS)
-> Show ExecuteCommandLogConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ExecuteCommandLogConfigurationProperty -> ShowS
showsPrec :: Int -> ExecuteCommandLogConfigurationProperty -> ShowS
$cshow :: ExecuteCommandLogConfigurationProperty -> String
show :: ExecuteCommandLogConfigurationProperty -> String
$cshowList :: [ExecuteCommandLogConfigurationProperty] -> ShowS
showList :: [ExecuteCommandLogConfigurationProperty] -> ShowS
Prelude.Show)
mkExecuteCommandLogConfigurationProperty ::
  ExecuteCommandLogConfigurationProperty
mkExecuteCommandLogConfigurationProperty :: ExecuteCommandLogConfigurationProperty
mkExecuteCommandLogConfigurationProperty
  = ExecuteCommandLogConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchEncryptionEnabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       cloudWatchLogGroupName :: Maybe (Value Text)
cloudWatchLogGroupName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       s3BucketName :: Maybe (Value Text)
s3BucketName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       s3EncryptionEnabled :: Maybe (Value Bool)
s3EncryptionEnabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       s3KeyPrefix :: Maybe (Value Text)
s3KeyPrefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ExecuteCommandLogConfigurationProperty where
  toResourceProperties :: ExecuteCommandLogConfigurationProperty -> ResourceProperties
toResourceProperties ExecuteCommandLogConfigurationProperty {Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ExecuteCommandLogConfigurationProperty -> ()
cloudWatchEncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
cloudWatchLogGroupName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3BucketName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3EncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
s3KeyPrefix :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ECS::Cluster.ExecuteCommandLogConfiguration",
         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
"CloudWatchEncryptionEnabled"
                              (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)
cloudWatchEncryptionEnabled,
                            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
"CloudWatchLogGroupName"
                              (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)
cloudWatchLogGroupName,
                            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
"S3BucketName" (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)
s3BucketName,
                            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
"S3EncryptionEnabled" (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)
s3EncryptionEnabled,
                            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
"S3KeyPrefix" (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)
s3KeyPrefix])}
instance JSON.ToJSON ExecuteCommandLogConfigurationProperty where
  toJSON :: ExecuteCommandLogConfigurationProperty -> Value
toJSON ExecuteCommandLogConfigurationProperty {Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ExecuteCommandLogConfigurationProperty -> ()
cloudWatchEncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
cloudWatchLogGroupName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3BucketName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3EncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
s3KeyPrefix :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
..}
    = [(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
"CloudWatchEncryptionEnabled"
                 (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)
cloudWatchEncryptionEnabled,
               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
"CloudWatchLogGroupName"
                 (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)
cloudWatchLogGroupName,
               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
"S3BucketName" (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)
s3BucketName,
               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
"S3EncryptionEnabled" (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)
s3EncryptionEnabled,
               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
"S3KeyPrefix" (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)
s3KeyPrefix]))
instance Property "CloudWatchEncryptionEnabled" ExecuteCommandLogConfigurationProperty where
  type PropertyType "CloudWatchEncryptionEnabled" ExecuteCommandLogConfigurationProperty = Value Prelude.Bool
  set :: PropertyType
  "CloudWatchEncryptionEnabled"
  ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty
set PropertyType
  "CloudWatchEncryptionEnabled"
  ExecuteCommandLogConfigurationProperty
newValue ExecuteCommandLogConfigurationProperty {Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ExecuteCommandLogConfigurationProperty -> ()
cloudWatchEncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
cloudWatchLogGroupName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3BucketName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3EncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
s3KeyPrefix :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
..}
    = ExecuteCommandLogConfigurationProperty
        {cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchEncryptionEnabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "CloudWatchEncryptionEnabled"
  ExecuteCommandLogConfigurationProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
..}
instance Property "CloudWatchLogGroupName" ExecuteCommandLogConfigurationProperty where
  type PropertyType "CloudWatchLogGroupName" ExecuteCommandLogConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "CloudWatchLogGroupName" ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty
set PropertyType
  "CloudWatchLogGroupName" ExecuteCommandLogConfigurationProperty
newValue ExecuteCommandLogConfigurationProperty {Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ExecuteCommandLogConfigurationProperty -> ()
cloudWatchEncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
cloudWatchLogGroupName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3BucketName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3EncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
s3KeyPrefix :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
..}
    = ExecuteCommandLogConfigurationProperty
        {cloudWatchLogGroupName :: Maybe (Value Text)
cloudWatchLogGroupName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "CloudWatchLogGroupName" ExecuteCommandLogConfigurationProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
..}
instance Property "S3BucketName" ExecuteCommandLogConfigurationProperty where
  type PropertyType "S3BucketName" ExecuteCommandLogConfigurationProperty = Value Prelude.Text
  set :: PropertyType "S3BucketName" ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty
set PropertyType "S3BucketName" ExecuteCommandLogConfigurationProperty
newValue ExecuteCommandLogConfigurationProperty {Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ExecuteCommandLogConfigurationProperty -> ()
cloudWatchEncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
cloudWatchLogGroupName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3BucketName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3EncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
s3KeyPrefix :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
..}
    = ExecuteCommandLogConfigurationProperty
        {s3BucketName :: Maybe (Value Text)
s3BucketName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "S3BucketName" ExecuteCommandLogConfigurationProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
..}
instance Property "S3EncryptionEnabled" ExecuteCommandLogConfigurationProperty where
  type PropertyType "S3EncryptionEnabled" ExecuteCommandLogConfigurationProperty = Value Prelude.Bool
  set :: PropertyType
  "S3EncryptionEnabled" ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty
set PropertyType
  "S3EncryptionEnabled" ExecuteCommandLogConfigurationProperty
newValue ExecuteCommandLogConfigurationProperty {Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ExecuteCommandLogConfigurationProperty -> ()
cloudWatchEncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
cloudWatchLogGroupName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3BucketName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3EncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
s3KeyPrefix :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
..}
    = ExecuteCommandLogConfigurationProperty
        {s3EncryptionEnabled :: Maybe (Value Bool)
s3EncryptionEnabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "S3EncryptionEnabled" ExecuteCommandLogConfigurationProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3KeyPrefix :: Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3KeyPrefix :: Maybe (Value Text)
..}
instance Property "S3KeyPrefix" ExecuteCommandLogConfigurationProperty where
  type PropertyType "S3KeyPrefix" ExecuteCommandLogConfigurationProperty = Value Prelude.Text
  set :: PropertyType "S3KeyPrefix" ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty
-> ExecuteCommandLogConfigurationProperty
set PropertyType "S3KeyPrefix" ExecuteCommandLogConfigurationProperty
newValue ExecuteCommandLogConfigurationProperty {Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ExecuteCommandLogConfigurationProperty -> ()
cloudWatchEncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
cloudWatchLogGroupName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3BucketName :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
s3EncryptionEnabled :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Bool)
s3KeyPrefix :: ExecuteCommandLogConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
s3KeyPrefix :: Maybe (Value Text)
..}
    = ExecuteCommandLogConfigurationProperty
        {s3KeyPrefix :: Maybe (Value Text)
s3KeyPrefix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "S3KeyPrefix" ExecuteCommandLogConfigurationProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
haddock_workaround_ :: ()
cloudWatchEncryptionEnabled :: Maybe (Value Bool)
cloudWatchLogGroupName :: Maybe (Value Text)
s3BucketName :: Maybe (Value Text)
s3EncryptionEnabled :: Maybe (Value Bool)
..}