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.229.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4884c85fc84f90a6c02fb62470d46d7cc36769e66eb44f826c9db477f6a52de0 |
|
MD5 | 22d6d2b61eaac0e4bd5965fd116e9a4b |
|
BLAKE2b-256 | d613ab75c2d210f6f4e10dc2ca1de4dc01b01858438add41ceb51cd84a0e468d |
Close
Hashes for cdk_lambda_layer_curl-1.0.229-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67989012fe24c184058b274ebb56eea2ff2eb31735e48cc3c65f3988d9b390af |
|
MD5 | 92eaf035ef7c5b928245eff3d410cece |
|
BLAKE2b-256 | d9438e009269c17971315e7edb6437d2220897805446824269d719effbb977aa |