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.181.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0da46325e949dc4541e3b49d250f05b74d842caa3b76438cb9cec22cd6f7c851 |
|
MD5 | 2dc79f7a16790763d824a4a6c8aa2b15 |
|
BLAKE2b-256 | 52f77c1ce27064f6a12e811f888d96cdc74228f7c061a8acc8819de67de472c4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.181-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48465bd7ac9772481184801d55847f6755765f1e27041f70f8badf83f30c4dfd |
|
MD5 | b9d551ff542c7614098a6ec60470c426 |
|
BLAKE2b-256 | 15aae89ece1de7a2cc7ac6368af8600b7f152710ca03baf9552df5ae648447c5 |