This package has been deprecated

Author message:

AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2. For more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html

@aws-cdk/lambda-layer-node-proxy-agent
TypeScript icon, indicating that this package has built-in type declarations

1.204.0 • Public • Published

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.

Package Sidebar

Install

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

Weekly Downloads

4,524

Version

1.204.0

License

Apache-2.0

Unpacked Size

1.53 MB

Total Files

20

Last publish

Collaborators

  • amzn-oss
  • aws-cdk-team