module Stratosphere.SageMaker.Space.CodeRepositoryProperty ( CodeRepositoryProperty(..), mkCodeRepositoryProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data CodeRepositoryProperty = -- | See: CodeRepositoryProperty {haddock_workaround_ :: (), -- | See: repositoryUrl :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkCodeRepositoryProperty :: Value Prelude.Text -> CodeRepositoryProperty mkCodeRepositoryProperty repositoryUrl = CodeRepositoryProperty {haddock_workaround_ = (), repositoryUrl = repositoryUrl} instance ToResourceProperties CodeRepositoryProperty where toResourceProperties CodeRepositoryProperty {..} = ResourceProperties {awsType = "AWS::SageMaker::Space.CodeRepository", supportsTags = Prelude.False, properties = ["RepositoryUrl" JSON..= repositoryUrl]} instance JSON.ToJSON CodeRepositoryProperty where toJSON CodeRepositoryProperty {..} = JSON.object ["RepositoryUrl" JSON..= repositoryUrl] instance Property "RepositoryUrl" CodeRepositoryProperty where type PropertyType "RepositoryUrl" CodeRepositoryProperty = Value Prelude.Text set newValue CodeRepositoryProperty {..} = CodeRepositoryProperty {repositoryUrl = newValue, ..}