@cumulus/common
Version:
Common utilities used across tasks
12 lines • 782 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWorkflowsListKeyPrefix = exports.getWorkflowFileKey = exports.workflowTemplateUri = exports.templateKey = void 0;
const templateKey = (stack) => `${stack}/workflow_template.json`;
exports.templateKey = templateKey;
const workflowTemplateUri = (bucket, stack) => `s3://${bucket}/${(0, exports.templateKey)(stack)}`;
exports.workflowTemplateUri = workflowTemplateUri;
const getWorkflowFileKey = (stackName, workflowName) => `${stackName}/workflows/${workflowName}.json`;
exports.getWorkflowFileKey = getWorkflowFileKey;
const getWorkflowsListKeyPrefix = (stackName) => `${stackName}/workflows/`;
exports.getWorkflowsListKeyPrefix = getWorkflowsListKeyPrefix;
//# sourceMappingURL=workflows.js.map