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.219.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7cebb9a8310103fac9a84e8c49a4f045b867e168e4109a374c57ceef967accd |
|
MD5 | 7518d171f8a4d9e5c82beab4d7a2dc4c |
|
BLAKE2b-256 | d89dce363008aa3bd477f34890ffa8259d586e3194493291dc16e469a79fdd3a |
Close
Hashes for cdk_lambda_layer_curl-2.0.219-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c901d13a99e7dddd4f9e0a48c3f841971fdd4504d34c2a6bea582bf7e4f75a68 |
|
MD5 | 7bd3a031c3bec988568b120e8b2f704d |
|
BLAKE2b-256 | 271422b353c27d85c10d97658ae27923a306d02660635a48ea0e20dcd95e34a7 |