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.474.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89287ce70dfbbdb9ad73a3395d8dd975a221c920488fd12c20dd35580bfcb436 |
|
MD5 | e690c9b8e9c450e065a282ed1fb9d4e9 |
|
BLAKE2b-256 | 4f3dd306cb3591fcfceea278df0f98fc26e161605f91c89cf520279c30ce23f1 |
Close
Hashes for cdk_lambda_layer_curl-2.0.474-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f277ca6d70fb9b525eeba086a6def3e01eafda05d17ab7d96acff745daccd50d |
|
MD5 | 4c80878838f74483e7f61537c3a7e234 |
|
BLAKE2b-256 | 3489a1d810ec88c8d53c8cc7cbfeda19648ee97625b514b5d57c55217b9f69d4 |