module Stratosphere.Amplify.App.JobConfigProperty ( JobConfigProperty(..), mkJobConfigProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data JobConfigProperty = -- | See: JobConfigProperty {haddock_workaround_ :: (), -- | See: buildComputeType :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkJobConfigProperty :: Value Prelude.Text -> JobConfigProperty mkJobConfigProperty buildComputeType = JobConfigProperty {haddock_workaround_ = (), buildComputeType = buildComputeType} instance ToResourceProperties JobConfigProperty where toResourceProperties JobConfigProperty {..} = ResourceProperties {awsType = "AWS::Amplify::App.JobConfig", supportsTags = Prelude.False, properties = ["BuildComputeType" JSON..= buildComputeType]} instance JSON.ToJSON JobConfigProperty where toJSON JobConfigProperty {..} = JSON.object ["BuildComputeType" JSON..= buildComputeType] instance Property "BuildComputeType" JobConfigProperty where type PropertyType "BuildComputeType" JobConfigProperty = Value Prelude.Text set newValue JobConfigProperty {..} = JobConfigProperty {buildComputeType = newValue, ..}