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.481.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84bd5dbe95c0617a48630e3ffd8a489221ddcfe4811989d2fff0af14441f4e2d |
|
MD5 | 4e2a5126474c456408a5aad815ae1575 |
|
BLAKE2b-256 | a605659c522a6d50ec0d17d15e9cf34f21b65c2d82816266ea7ad3011d966250 |
Close
Hashes for cdk_lambda_layer_curl-1.0.481-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eff3d0c5ee1544e3246c126f82f6336d91933cac588540685b5e8786bec483be |
|
MD5 | 77ac8325b0b6f25bdcbc8f1f1974e2b1 |
|
BLAKE2b-256 | 01a24e6fb592bdcabab6d1ded6c37004ec68f89e90ce59441ea0ed433e6914e4 |