package
1.204.0-devpreview
Repository: https://github.com/aws/aws-cdk-go.git
Documentation: pkg.go.dev

# README

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:

import "github.com/aws/aws-cdk-go/awscdk"
import lambda "github.com/aws/aws-cdk-go/awscdk"

var fn function

fn.AddLayers(awscdk.NewNodeProxyAgentLayer(this, jsii.String("NodeProxyAgentLayer")))

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

# Functions

Experimental.
Experimental.
Imports a layer version by ARN.
Imports a Layer that has been defined externally.
Return whether the given object is a Construct.
Check whether the given construct is a Resource.

# Interfaces

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