See: Description
| Class | Description |
|---|---|
| NodeProxyAgentLayer |
(experimental) An AWS Lambda layer that includes 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:
// Example automatically generated from non-compiling source. May contain errors. Function fn = new Function(...); fn.addLayers(new NodeProxyAgentLayer(stack, "NodeProxyAgentLayer"));
proxy-agent will be installed under /opt/nodejs/node_modules.
Copyright © 2022. All rights reserved.