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.134.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91f61a71b503e72e80cdf9081a01f5d4a6fe6aadfbbb9f570843f246163fd6e8 |
|
MD5 | 92ca290bb90bd512a01ba1258b26f50e |
|
BLAKE2b-256 | ee722c5c4b4efd8186a9f6e969fbeee23542b3132f376927dcc879564f7b259c |
Close
Hashes for cdk_lambda_layer_curl-1.0.134-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c40bfabdea15b52e6be46687ae4779af27381c5782ea53e68bcb35dd356d50df |
|
MD5 | d492c0dcd48f179c4295cdcc1a4d96c1 |
|
BLAKE2b-256 | 79dbae82ad316be5289671d3971e597de19cf05f5263ebdbf5dfa5e8e8117a61 |