module Stratosphere.ServiceCatalog.CloudFormationProduct.ConnectionParametersProperty ( module Exports, ConnectionParametersProperty(..), mkConnectionParametersProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.ServiceCatalog.CloudFormationProduct.CodeStarParametersProperty as Exports import Stratosphere.ResourceProperties data ConnectionParametersProperty = -- | See: ConnectionParametersProperty {haddock_workaround_ :: (), -- | See: codeStar :: (Prelude.Maybe CodeStarParametersProperty)} deriving stock (Prelude.Eq, Prelude.Show) mkConnectionParametersProperty :: ConnectionParametersProperty mkConnectionParametersProperty = ConnectionParametersProperty {haddock_workaround_ = (), codeStar = Prelude.Nothing} instance ToResourceProperties ConnectionParametersProperty where toResourceProperties ConnectionParametersProperty {..} = ResourceProperties {awsType = "AWS::ServiceCatalog::CloudFormationProduct.ConnectionParameters", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "CodeStar" Prelude.<$> codeStar])} instance JSON.ToJSON ConnectionParametersProperty where toJSON ConnectionParametersProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "CodeStar" Prelude.<$> codeStar])) instance Property "CodeStar" ConnectionParametersProperty where type PropertyType "CodeStar" ConnectionParametersProperty = CodeStarParametersProperty set newValue ConnectionParametersProperty {..} = ConnectionParametersProperty {codeStar = Prelude.pure newValue, ..}