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.517.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbfb19ad85ab2c079196d87e11596ae8e1729ef95b2d259fd9bda6d48466fa58 |
|
MD5 | 239ef6eb7873d6e78fe912b4d732b819 |
|
BLAKE2b-256 | 290590a362612f5c3046650810769fe0328de16f0028ceac7893d5fd57281fcc |
Close
Hashes for cdk_lambda_layer_curl-1.0.517-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 453c3e618840ca1278bf8f31078053269e5469179b46f690f87d74ce5f4b3526 |
|
MD5 | c4d7e7f22655ff9049a9a81cb68ce610 |
|
BLAKE2b-256 | 8d746071846952b9d738b00ae4efd05e9bc085dc24e980e3c115c1aa5bdb6fa3 |