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.480.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9456dd4b0f7e202bbe1e371046b46173c2cb068cba47e1bec97636dbfaf63a1d |
|
MD5 | 1da89efaa4fd69ede64dc8f28c2d849d |
|
BLAKE2b-256 | c9877b1bd50b180af04012ff5b6d7e5e275b3209c1b987296723719a4cb588fb |
Close
Hashes for cdk_lambda_layer_curl-2.0.480-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 037b6b162c36addcee4da590583ae50a49c33756653ee37355fdb7879572575e |
|
MD5 | c178dfffcc72111ba269d53581594031 |
|
BLAKE2b-256 | 95653145e0b8f8d0eadf70433987d133d794d6d9021e00e1ebb240b30244744a |