Skip navigation links

Package software.amazon.awscdk.lambda.layer.node.proxy.agent

AWS Lambda Layer with the NPM dependency proxy-agent

See: Description

Package software.amazon.awscdk.lambda.layer.node.proxy.agent 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:

 import software.amazon.awscdk.lambda.layer.node.proxy.agent.NodeProxyAgentLayer;
 import software.amazon.awscdk.services.lambda.*;
 
 Function fn;
 
 fn.addLayers(new NodeProxyAgentLayer(this, "NodeProxyAgentLayer"));
 

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

Skip navigation links