content: module Stratosphere.Batch.ComputeEnvironment.EksConfigurationProperty (
          EksConfigurationProperty(..), mkEksConfigurationProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import Stratosphere.ResourceProperties
  import Stratosphere.Value
  data EksConfigurationProperty
    = EksConfigurationProperty {eksClusterArn :: (Value Prelude.Text),
                                kubernetesNamespace :: (Value Prelude.Text)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkEksConfigurationProperty ::
    Value Prelude.Text
    -> Value Prelude.Text -> EksConfigurationProperty
  mkEksConfigurationProperty eksClusterArn kubernetesNamespace
    = EksConfigurationProperty
        {eksClusterArn = eksClusterArn,
         kubernetesNamespace = kubernetesNamespace}
  instance ToResourceProperties EksConfigurationProperty where
    toResourceProperties EksConfigurationProperty {..}
      = ResourceProperties
          {awsType = "AWS::Batch::ComputeEnvironment.EksConfiguration",
           supportsTags = Prelude.False,
           properties = ["EksClusterArn" JSON..= eksClusterArn,
                         "KubernetesNamespace" JSON..= kubernetesNamespace]}
  instance JSON.ToJSON EksConfigurationProperty where
    toJSON EksConfigurationProperty {..}
      = JSON.object
          ["EksClusterArn" JSON..= eksClusterArn,
           "KubernetesNamespace" JSON..= kubernetesNamespace]
  instance Property "EksClusterArn" EksConfigurationProperty where
    type PropertyType "EksClusterArn" EksConfigurationProperty = Value Prelude.Text
    set newValue EksConfigurationProperty {..}
      = EksConfigurationProperty {eksClusterArn = newValue, ..}
  instance Property "KubernetesNamespace" EksConfigurationProperty where
    type PropertyType "KubernetesNamespace" EksConfigurationProperty = Value Prelude.Text
    set newValue EksConfigurationProperty {..}
      = EksConfigurationProperty {kubernetesNamespace = newValue, ..}