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.150.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 737f2728072dcae8e4a18b3a46923ba93baebd25f1563f13611814da3772f376 |
|
MD5 | 794d3cc877b7a1954840cedc45943819 |
|
BLAKE2b-256 | 74020dfcaa3fdc9dfa92a27e69517b25cee87d90322840c278e920410a9e3e97 |
Close
Hashes for cdk_lambda_layer_curl-2.0.150-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a08f93c1372c8a3e785489c26b585445e8b6e260694feab628a30330ad9c17e8 |
|
MD5 | d61d420d31740f735741b17b35ba7357 |
|
BLAKE2b-256 | 49d18e1b9e56b694e504177af7ad89e8fce5a5c9312f48349e201faf5fa53228 |