agent-claw: automated task changes
This commit is contained in:
17
cdk/node_modules/aws-cdk-lib/lambda-layer-node-proxy-agent/README.md
generated
vendored
Normal file
17
cdk/node_modules/aws-cdk-lib/lambda-layer-node-proxy-agent/README.md
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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`](https://www.npmjs.com/package/proxy-agent).
|
||||
|
||||
> - proxy-agent Version: 5.0.0
|
||||
|
||||
Usage:
|
||||
|
||||
```ts
|
||||
import { NodeProxyAgentLayer } from 'aws-cdk-lib/lambda-layer-node-proxy-agent';
|
||||
import * as lambda from 'aws-cdk-lib/aws-lambda';
|
||||
|
||||
declare const fn: lambda.Function;
|
||||
fn.addLayers(new NodeProxyAgentLayer(this, 'NodeProxyAgentLayer'));
|
||||
```
|
||||
|
||||
[`proxy-agent`](https://www.npmjs.com/package/proxy-agent) will be installed under `/nodejs/node_modules`.
|
||||
Reference in New Issue
Block a user