For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } from 'cdk-lambda-layer-curl'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new CurlLayer(this, 'CurlLayer')]
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-curl-1.0.695.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 768993af6b61ec0e59b125efc7eab6cf8590fac1e8ee352b314567060f746aaf |
|
MD5 | a5458b10cc852bed0c90724920a8fda7 |
|
BLAKE2b-256 | 2e60de08802a869db6a74002fe0fcbe4780869ddfee1425ced1e1abd64db7b25 |
Close
Hashes for cdk_lambda_layer_curl-1.0.695-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56d082d7e11fca5ebf5a30882c942213730de11e243d18d02d56c1b8ea8516a7 |
|
MD5 | b548c72b330403f7e034bab30050f4b5 |
|
BLAKE2b-256 | 2a3450a6953861bbdbd9e4287c22f651b72137a90748960ebeb509bd8d4c86e5 |