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.652.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2346f521248d588c489f05a39a0fdaa43c71839fe59b70d87e4743819a826d1 |
|
MD5 | a1d93987057ce9d3239b6b12268fee93 |
|
BLAKE2b-256 | 52005af1e961a1ae2b179761ed1c8dd0c35b38735e771864e616a5c8cbcdaaea |
Close
Hashes for cdk_lambda_layer_curl-1.0.652-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58ea51ce4f5ca1bfbd593963559a51554c079a446db95ac3626a5973d3877a82 |
|
MD5 | 38117a283ef7a3804ebdee78877b2282 |
|
BLAKE2b-256 | 7a676911a9d23d9a6579135151469a7d12480bcb16faefee9ca982e411419311 |