"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.createSyncSystemApp = createSyncSystemApp;
var _createSyncSystemPulumiApp = require("@webiny/pulumi-aws/apps/syncSystem/createSyncSystemPulumiApp.js");
function createSyncSystemApp(projectAppParams) {
  const plugins = projectAppParams.plugins ? [...projectAppParams.plugins] : [];
  return {
    id: "sync",
    name: "Sync System",
    description: "Your project's Sync System.",
    cli: {
      // Default args for the "yarn webiny watch ..." command (we don't need the deploy option while developing).
      watch: {
        // We disable local development for all AWS Lambda functions.
        // This can be changed down the line by passing another set of values
        // to the "watch" command (for example `-f ps-render-subscriber`).
        function: "none"
      }
    },
    pulumi: (0, _createSyncSystemPulumiApp.createSyncSystemPulumiApp)(projectAppParams),
    plugins: plugins.concat([])
  };
}

//# sourceMappingURL=createSyncSystemApp.js.map