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.43.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66a21f594e6c16589af73eec1db1cca6fd45d5dd0cde0a6e5f321b6f401d48c7 |
|
MD5 | f1bc978d5d1cc7c6f13b50bd140b0c4d |
|
BLAKE2b-256 | 4eb84dcf62332fbe140141fffa3657df9f0e0e0fccd3448a0c5babfdf8217014 |
Close
Hashes for cdk_lambda_layer_curl-2.0.43-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2efaf56940340fab9bcba9ef5402139fe73a75b99d96623fd01c74dc123e8b8 |
|
MD5 | 0a53a1503fb139b2eee9fe24ac4c08c5 |
|
BLAKE2b-256 | 93b3d012f831063bb0d052edda3d32a16cbcc14c80e9bbfd0f304d392f73397e |