content: module Stratosphere.Amplify.App.EnvironmentVariableProperty (
          EnvironmentVariableProperty(..), mkEnvironmentVariableProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import Stratosphere.ResourceProperties
  import Stratosphere.Value
  data EnvironmentVariableProperty
    = EnvironmentVariableProperty {name :: (Value Prelude.Text),
                                   value :: (Value Prelude.Text)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkEnvironmentVariableProperty ::
    Value Prelude.Text
    -> Value Prelude.Text -> EnvironmentVariableProperty
  mkEnvironmentVariableProperty name value
    = EnvironmentVariableProperty {name = name, value = value}
  instance ToResourceProperties EnvironmentVariableProperty where
    toResourceProperties EnvironmentVariableProperty {..}
      = ResourceProperties
          {awsType = "AWS::Amplify::App.EnvironmentVariable",
           supportsTags = Prelude.False,
           properties = ["Name" JSON..= name, "Value" JSON..= value]}
  instance JSON.ToJSON EnvironmentVariableProperty where
    toJSON EnvironmentVariableProperty {..}
      = JSON.object ["Name" JSON..= name, "Value" JSON..= value]
  instance Property "Name" EnvironmentVariableProperty where
    type PropertyType "Name" EnvironmentVariableProperty = Value Prelude.Text
    set newValue EnvironmentVariableProperty {..}
      = EnvironmentVariableProperty {name = newValue, ..}
  instance Property "Value" EnvironmentVariableProperty where
    type PropertyType "Value" EnvironmentVariableProperty = Value Prelude.Text
    set newValue EnvironmentVariableProperty {..}
      = EnvironmentVariableProperty {value = newValue, ..}