constructor()

in src/index.ts [142:152]


  constructor(scope: cdk.Construct, id: string, props: ServerlessLaravelProps) {
    super(scope, id);
    new ServerlessApi(this, id, {
      lambdaCodePath: props.laravelPath,
      brefLayerVersion: props.brefLayerVersion,
      handler: props.handler,
      vpc: props.vpc,
      databaseConfig: props.databaseConfig,
      rdsProxy: props.rdsProxy,
    });
  }