AWSCDK::LambdaLayerNodeProxyAgent

1 types

AWS Lambda Layer with 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:

require 'aws-cdk-lib'

fn = nil # AWSCDK::Lambda::Function

fn.add_layers(AWSCDK::LambdaLayerNodeProxyAgent::NodeProxyAgentLayer.new(self, "NodeProxyAgentLayer"))

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

API Reference

Classes 1

NodeProxyAgentLayerAn AWS Lambda layer that includes the NPM dependency `proxy-agent`.