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.798.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16bc1fbd123cfd159fb2b5a501fdc0b9db47599b0268426a422933975eb3f8f7 |
|
MD5 | 0eb1dcf13b1857f8ffd7337ba4238a41 |
|
BLAKE2b-256 | 912fc0e3062849e26b97b97b499254cb4fcd5a0292203259289eb271cd821508 |
Close
Hashes for cdk_lambda_layer_curl-2.0.798-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d05b79d3745764936ad1028745cd7dbe2f248102acedebbf79cf15f67cbaeb7 |
|
MD5 | bb1de4425d814afd72005751062cb1c8 |
|
BLAKE2b-256 | 814dbb1979c9407e954d5064547472f8395c1f052b30d3d27865d34d81f4345a |