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.74.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b379af1d8a949296fd359bc6fde8e4c7dd5b9289be1e6db428571b5ab69c1d1 |
|
MD5 | b7dff7664349f257c0c9a57c69264dc9 |
|
BLAKE2b-256 | bcef75532b7d8dbf079c3072f63db307edd9712537cb91ff82ff07f8a92eb4b4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.74-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10f3d449c8f6da4141ce6f55ebe80bfda4f7ab7966fc415f5be7bc7a1325641f |
|
MD5 | c2de1395e80067a36a4169a7b86feb70 |
|
BLAKE2b-256 | bfd0d7f0597067cbe2e34871d09f301dd38b35f962f39d5f9b3c69ad3ea7a173 |