"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NodePostgresLayer = void 0;
const cdk = require("aws-cdk-lib");
const lambda = require("aws-cdk-lib/aws-lambda");
class NodePostgresLayer extends cdk.Stack {
    constructor(scope, id, props) {
        super(scope, id, props);
        this.layer = new lambda.LayerVersion(this, 'NodePostgresLambdaLayer', {
            code: lambda.Code.fromAsset(__dirname + "/nodejs.zip"),
            description: 'Pg/typeorm lambda layer for Nodejs',
            compatibleRuntimes: [lambda.Runtime.NODEJS_14_X, lambda.Runtime.NODEJS_16_X],
        });
    }
}
exports.NodePostgresLayer = NodePostgresLayer;
exports.default = NodePostgresLayer;
//# sourceMappingURL=index.js.map