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.64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7147405f296a523744101843441bf7fe34c38d994e6eca01e3af2d6de3d50d0 |
|
MD5 | 18620919d922f2e5fe145bb76e8d1274 |
|
BLAKE2b-256 | f5e62700231ad229160d23b7af176b7d9f64c601b676c544ee94aceb219924ae |
Close
Hashes for cdk_lambda_layer_curl-2.0.64-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 875fdedb0eab51a293125e9b9a4b0a177b94361baedd2c05abb512b19f79462c |
|
MD5 | c2961655937f1791f6d3d2a0faa1f111 |
|
BLAKE2b-256 | 3666c4aa5a7ef7a18fdabf56bdfb4d999407e62ded736ae5966275ad58f5a936 |