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.431.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88a1f03f2d5855d529f204994741b6724d9add10be0a5f92cd7d9b778b102ddf |
|
MD5 | 2d8e71e9104922535866af3c458821d2 |
|
BLAKE2b-256 | 8e5fc20429193f6a3f4f18c792c39a1e0353b958d825f96b1daf362abdc8ddf5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.431-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fab09e2b8de7343673edc5496125f0055e7c7f44450e07eca450ce5bd1d286b2 |
|
MD5 | 833266368636a9c3b99d9ca6298b31e0 |
|
BLAKE2b-256 | 7273ac46a9df30ac8f27804b8e692ed142a393768dbcad11fb50a884771d9f18 |