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.196.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4403a86079361b31bb8bf1e9446c6e01f3b425ccb09a99ebcfb04cb42d02694f |
|
MD5 | cb79f4adabf24fe5c4020e448c39d363 |
|
BLAKE2b-256 | 9876b870f62126942b7b9ee800b2b4b0e7f58450691f1f239d08b100b3c3631d |
Close
Hashes for cdk_lambda_layer_curl-1.0.196-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efafe6cc2d3dbf7bd33003928f5fe1545fd5388bdc1d21981b2f8930ec7ccad4 |
|
MD5 | 7a96d73906c271921986f6519fb93d6c |
|
BLAKE2b-256 | c8f5d981cbeefa795ba637f167dab70d00bee053f777df46fcf4189c2bfa3233 |