npm.io
1.204.0 • Published 3 years ago

@aws-cdk/lambda-layer-node-proxy-agent

Licence
Apache-2.0
Version
1.204.0
Deps
3
Size
1.5 MB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

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 { NodeProxyAgentLayer } from '@aws-cdk/lambda-layer-node-proxy-agent';
import * as lambda from '@aws-cdk/aws-lambda';

declare const fn: lambda.Function;
fn.addLayers(new NodeProxyAgentLayer(this, 'NodeProxyAgentLayer'));

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

Keywords