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.300.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d513eb9d8d2e5acada917f2705b090191fad373207b0f863466a844194459f1e |
|
MD5 | 0544b258234c67096bd572161556623c |
|
BLAKE2b-256 | f7ca5060c4e7681862b18b0666a26b1421e4be54ed0352301942097bb102558d |
Close
Hashes for cdk_lambda_layer_curl-1.0.300-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2c36acab58c3760aacb765e6ace1624c2f89095be9a3c4398bf1a7265dff70c |
|
MD5 | 7ecec1164d77d16f0f4e6b6901f88844 |
|
BLAKE2b-256 | 91beae333628c35413051b286eb651b3c681bf5c045b181891ac8065857876af |