Published
An AWS Lambda layer that contains the `proxy-agent` NPM dependency
pip install aws-cdk-lambda-layer-node-proxy-agent
Package Downloads
Authors
Requires Python
~=3.7
Dependencies
aws-cdk.aws-lambda (==1.204.0)aws-cdk.core (==1.204.0)constructs (<4.0.0,>=3.3.69)jsii (<2.0.0,>=1.84.0)publication (>=0.0.3)typeguard (~=2.13.3)
AWS Lambda Layer with the NPM dependency proxy-agent
---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.