stratosphere-appflow-1.0.0: gen/Stratosphere/AppFlow/Flow/ServiceNowSourcePropertiesProperty.hs
module Stratosphere.AppFlow.Flow.ServiceNowSourcePropertiesProperty (
ServiceNowSourcePropertiesProperty(..),
mkServiceNowSourcePropertiesProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ServiceNowSourcePropertiesProperty
= -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-servicenowsourceproperties.html>
ServiceNowSourcePropertiesProperty {haddock_workaround_ :: (),
-- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-servicenowsourceproperties.html#cfn-appflow-flow-servicenowsourceproperties-object>
object :: (Value Prelude.Text)}
deriving stock (Prelude.Eq, Prelude.Show)
mkServiceNowSourcePropertiesProperty ::
Value Prelude.Text -> ServiceNowSourcePropertiesProperty
mkServiceNowSourcePropertiesProperty object
= ServiceNowSourcePropertiesProperty
{haddock_workaround_ = (), object = object}
instance ToResourceProperties ServiceNowSourcePropertiesProperty where
toResourceProperties ServiceNowSourcePropertiesProperty {..}
= ResourceProperties
{awsType = "AWS::AppFlow::Flow.ServiceNowSourceProperties",
supportsTags = Prelude.False,
properties = ["Object" JSON..= object]}
instance JSON.ToJSON ServiceNowSourcePropertiesProperty where
toJSON ServiceNowSourcePropertiesProperty {..}
= JSON.object ["Object" JSON..= object]
instance Property "Object" ServiceNowSourcePropertiesProperty where
type PropertyType "Object" ServiceNowSourcePropertiesProperty = Value Prelude.Text
set newValue ServiceNowSourcePropertiesProperty {..}
= ServiceNowSourcePropertiesProperty {object = newValue, ..}