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.50.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a68c7ea10b148da80744d0be352a53b4539ff0e8c7d4f482b70d9e00565b0fe |
|
MD5 | 43d0e05f8ce44b5e6fc04f1df2b9d8cb |
|
BLAKE2b-256 | 79c520bba5e6198934a7703b9fe337c065f66cdbf9f1683d7051b00558787385 |
Close
Hashes for cdk_lambda_layer_curl-2.0.50-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b801d1b60823b990d12786f0bdab1137aba10077552d2e4d1fd2590db1763ad2 |
|
MD5 | 93d611de4c847fcbc195bb0f2180e70a |
|
BLAKE2b-256 | cc36fa5d3facaab045d0513acefdd9db1005ea16d3eee4188e38a6c0379ef795 |