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-2.0.598.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fff2cf0c6ca26fc94c5abf37f616bf6358159f01cfb7fc6d32f768304c3f3126 |
|
MD5 | cb0605feded5c24aa4d276127ea29e76 |
|
BLAKE2b-256 | 621a264a277b5b17d42c6023883a05e88249a015dfd0d170251887e0430a96f1 |
Close
Hashes for cdk_lambda_layer_curl-2.0.598-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a7a552e605cece7a8367f077104d786c2eabca53eb3906de79dae378869c38c |
|
MD5 | a78248646d12d561a7e725272f6fac3b |
|
BLAKE2b-256 | e1fb8b0ea4f5014255cd553953ba2d6de7f244a5b97cb47101db73cb78f41381 |