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.418.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e6c1e8ef486697bbc83a5962da886d54c26ed207e90dd59005ad1ea733935aa |
|
MD5 | 136557f2346edfa921e6b49c208b3e96 |
|
BLAKE2b-256 | aa4ffdfafa55de452147a4c95621083e9c71957f1d04bd58ed8122549ce594a3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.418-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e29ac2ce8d7e17a45a1851e632992a20520acd9962745765a24161c1523236f |
|
MD5 | fe8ceca0c9520f686e1f5df672377f82 |
|
BLAKE2b-256 | 3cbcdd2d7158d6733c67d0358b3ecfff8674b7cd99c830195c5ff4e8069b730e |