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.601.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47dd3f54f05dd7d87f10549adf911b7ceb7c97a8bb5ad66d2e53c88174619985 |
|
MD5 | c3f48946a366e32fa717a654e2f9e2a9 |
|
BLAKE2b-256 | e49c562c0d1ac75dbc8c61766e74c0eb6fb1788b422b240efb65f4c2e4ddab7f |
Close
Hashes for cdk_lambda_layer_curl-1.0.601-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13c88e6efde27eb552ee3bb12749e1b4f28c28eb58ddec0653ff02f41da54d59 |
|
MD5 | 3c67e601772dfad47e6a4eececb676b6 |
|
BLAKE2b-256 | 7229aa6503ee55c3b586144468693fbfb6268b8ee067937a7663a951e4a89259 |