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.156.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf792a405bfec54dc1e57a21f8e0ba4966c3334dfc5f5402202dc13376eaf3a6 |
|
MD5 | fecd48d631c023164d302eed5fa329b5 |
|
BLAKE2b-256 | 3662f6768bcfbf9678ca2583432bb14778e88d81801e383a564973c020a6c7bc |
Close
Hashes for cdk_lambda_layer_curl-1.0.156-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1800a26843621f5624405fb8c2e18572169223cccec431b5cb0ab01a5e07bbf1 |
|
MD5 | 4e0bb0ddcb66621f63640b9a284c4539 |
|
BLAKE2b-256 | 690cb3e7c044435cf9946e7854a546e881cb76d00373b465d06e54217ed24cb0 |