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.411.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1990f4604a6ea373965df3a46947677b4844f3d6ba1c2e8c9867bdc517e4f44 |
|
MD5 | 8a162c4c8a9237deca053cad3bf8db3d |
|
BLAKE2b-256 | acb513e8dcf2b6642e953f507f03d79fdd1f6e628fd80dd1697f1263b7fda23a |
Close
Hashes for cdk_lambda_layer_curl-2.0.411-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea6719f11eeb19a971eeca1d565aa7153b0a7fd00712fa0ab7f284eb8f38800b |
|
MD5 | c2c8085f18bc65a8863303d33436b43f |
|
BLAKE2b-256 | 2c2b7815bda5e59198d010f49a14ec4d00f57475e6285eae30d916f35e583802 |