UNPKG

pip-services-roles-node

Version:
14 lines (11 loc) 590 B
import { Descriptor } from 'pip-services3-commons-node'; import { CommandableLambdaFunction } from 'pip-services3-aws-node'; import { RolesServiceFactory } from '../build/RolesServiceFactory'; export class RolesLambdaFunction extends CommandableLambdaFunction { public constructor() { super("roles", "User roles function"); this._dependencyResolver.put('controller', new Descriptor('pip-services-roles', 'controller', 'default', '*', '*')); this._factories.add(new RolesServiceFactory()); } } export const handler = new RolesLambdaFunction().getHandler();