content: module Stratosphere.GuardDuty.Detector.CFNKubernetesAuditLogsConfigurationProperty (
          CFNKubernetesAuditLogsConfigurationProperty(..),
          mkCFNKubernetesAuditLogsConfigurationProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import Stratosphere.ResourceProperties
  import Stratosphere.Value
  data CFNKubernetesAuditLogsConfigurationProperty
    = CFNKubernetesAuditLogsConfigurationProperty {enable :: (Value Prelude.Bool)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkCFNKubernetesAuditLogsConfigurationProperty ::
    Value Prelude.Bool -> CFNKubernetesAuditLogsConfigurationProperty
  mkCFNKubernetesAuditLogsConfigurationProperty enable
    = CFNKubernetesAuditLogsConfigurationProperty {enable = enable}
  instance ToResourceProperties CFNKubernetesAuditLogsConfigurationProperty where
    toResourceProperties
      CFNKubernetesAuditLogsConfigurationProperty {..}
      = ResourceProperties
          {awsType = "AWS::GuardDuty::Detector.CFNKubernetesAuditLogsConfiguration",
           supportsTags = Prelude.False,
           properties = ["Enable" JSON..= enable]}
  instance JSON.ToJSON CFNKubernetesAuditLogsConfigurationProperty where
    toJSON CFNKubernetesAuditLogsConfigurationProperty {..}
      = JSON.object ["Enable" JSON..= enable]
  instance Property "Enable" CFNKubernetesAuditLogsConfigurationProperty where
    type PropertyType "Enable" CFNKubernetesAuditLogsConfigurationProperty = Value Prelude.Bool
    set newValue CFNKubernetesAuditLogsConfigurationProperty {}
      = CFNKubernetesAuditLogsConfigurationProperty
          {enable = newValue, ..}