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.345.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 123c15b156550126f0bf754753d9cbf48270164c2971f415ec00000661bb7569 |
|
MD5 | e1185c9bcf2d8b036fd986f8986ef4dc |
|
BLAKE2b-256 | c9ead91996a1fd8db6276c1997731376eeeb9479c10a7d559162c3d52d186fc3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.345-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10a9b2e41e20bfc58deb8775e23944dece1e7d5d926662e149d7d41e53292501 |
|
MD5 | 0071825af5949e9673884472f3b6036c |
|
BLAKE2b-256 | 9a538e4553006c37f667d6557b94dc01be07d44b8a452dd44fef176d3ef84066 |