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.71.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6161bb05dc89bc05d4515ebc4b04f02d3ab208ce118c30c6e4f639a2738bdec4 |
|
MD5 | 8723daf4070153fc11ae86d393f8ecb7 |
|
BLAKE2b-256 | df7a3e47cb2a49ca51e993bbadfd65f5bfa48868b605cbda36407fa3cd87e844 |
Close
Hashes for cdk_lambda_layer_curl-2.0.71-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96eed1c041342e15fdc85f09dc6417bde231efa79398fe63ba58720c38c0b614 |
|
MD5 | 0aed9c559c10b0038357c43be915695a |
|
BLAKE2b-256 | 0973313cf2240d44e3173c09cab48b67eab62475904073487f959e5a549e3487 |