UNPKG

hops-lambda

Version:

Quick and easy deployment of Hops applications to AWS Lambda

41 lines (39 loc) 1.05 kB
const path = require('path'); module.exports = { mixins: [__dirname], aws: { memorySize: 128, region: 'us-east-1', stageName: 'prod', uniqueName: 'hops-lambda-<name>', cloudformationTemplateFile: path.resolve(__dirname, 'cloudformation.yaml'), include: ['<serverDir>/**'], exclude: ['flow-typed/**', 'typings/**'], }, configSchema: { aws: { type: 'object', properties: { memorySize: { type: 'number' }, region: { type: 'string', minLength: 1 }, domainName: { type: 'string', format: 'hostname' }, certificateArn: { type: 'string' }, stageName: { type: 'string', minLength: 1 }, uniqueName: { type: 'string', minLength: 1 }, cloudformationTemplateFile: { type: 'string', absolutePath: true }, include: { type: 'array', items: { type: 'string', }, }, exclude: { type: 'array', items: { type: 'string', }, }, }, }, }, };