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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b6a4174e91eaf02c02a4becaabd32193292aa7306eab59ec7a44856dce490f2 |
|
MD5 | ebd34b842fd6b085f46ab6289dc1146b |
|
BLAKE2b-256 | 117bf788c1725245bcbe24918afa469e0916008095838e077041a84728a6add9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90452f4e0e765525308bfffb3b215abafcb15010c426eaac5518aebe8c07146b |
|
MD5 | c8afc33c4bd7e32e26514f72ef18ec94 |
|
BLAKE2b-256 | 7f7e19d33966969634fbbb184f282ce6ad9dbc3c2635331a545ee7ddf1a3ff6d |