content: module Stratosphere.CodePipeline.Pipeline.ArtifactStoreMapProperty (
          module Exports, ArtifactStoreMapProperty(..),
          mkArtifactStoreMapProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import {-# SOURCE #-} Stratosphere.CodePipeline.Pipeline.ArtifactStoreProperty as Exports
  import Stratosphere.ResourceProperties
  import Stratosphere.Value
  data ArtifactStoreMapProperty
    = ArtifactStoreMapProperty {artifactStore :: ArtifactStoreProperty,
                                region :: (Value Prelude.Text)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkArtifactStoreMapProperty ::
    ArtifactStoreProperty
    -> Value Prelude.Text -> ArtifactStoreMapProperty
  mkArtifactStoreMapProperty artifactStore region
    = ArtifactStoreMapProperty
        {artifactStore = artifactStore, region = region}
  instance ToResourceProperties ArtifactStoreMapProperty where
    toResourceProperties ArtifactStoreMapProperty {..}
      = ResourceProperties
          {awsType = "AWS::CodePipeline::Pipeline.ArtifactStoreMap",
           supportsTags = Prelude.False,
           properties = ["ArtifactStore" JSON..= artifactStore,
                         "Region" JSON..= region]}
  instance JSON.ToJSON ArtifactStoreMapProperty where
    toJSON ArtifactStoreMapProperty {..}
      = JSON.object
          ["ArtifactStore" JSON..= artifactStore, "Region" JSON..= region]
  instance Property "ArtifactStore" ArtifactStoreMapProperty where
    type PropertyType "ArtifactStore" ArtifactStoreMapProperty = ArtifactStoreProperty
    set newValue ArtifactStoreMapProperty {..}
      = ArtifactStoreMapProperty {artifactStore = newValue, ..}
  instance Property "Region" ArtifactStoreMapProperty where
    type PropertyType "Region" ArtifactStoreMapProperty = Value Prelude.Text
    set newValue ArtifactStoreMapProperty {..}
      = ArtifactStoreMapProperty {region = newValue, ..}