Skip to main content

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

Project description

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 /opt/nodejs/node_modules.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page