Oven logo

Oven

Published

An AWS Lambda layer that contains the `proxy-agent` NPM dependency

pip install aws-cdk-lambda-layer-node-proxy-agent

Package Downloads

Weekly DownloadsMonthly Downloads

Authors

Project URLs

Requires Python

~=3.7

AWS Lambda Layer with the NPM dependency proxy-agent

---

cdk-constructs: Stable


This module exports a single class called NodeProxyAgentLayer which is a lambda.Layer that bundles the NPM dependency proxy-agent.

  • proxy-agent Version: 5.0.0

Usage:

from aws_cdk.lambda_layer_node_proxy_agent import NodeProxyAgentLayer
import aws_cdk.aws_lambda as lambda_

# fn: lambda.Function

fn.add_layers(NodeProxyAgentLayer(self, "NodeProxyAgentLayer"))

proxy-agent will be installed under /nodejs/node_modules.