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.27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 086d252b7d5b2423640c3389580925540775f72eee9a30fc997f971d2f510793 |
|
MD5 | bffd02c18ac5ed6a56afeda1bbc0c6f4 |
|
BLAKE2b-256 | f5c7a2ad79c7f6271118b10f3b118743fe768ba98eb7bf699225a265e4320a84 |
Close
Hashes for cdk_lambda_layer_curl-1.0.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57ae0515f095d56f54034b1de96fbacc43a118fb0907d805b6fd4056db171b40 |
|
MD5 | 77947a8016a54785a1e1ec52bca599ff |
|
BLAKE2b-256 | 6d2d886f640969b70fc3ebfd1e335609e775194f0dd5791d7178755b6e957ce6 |