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.172.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2d0f39cd0549407b1a269e4907c877e06e9cc27f1a90f4ef723a17147ad9b98 |
|
MD5 | 8a1817a9821fe10f7ea99bc73c838147 |
|
BLAKE2b-256 | 6a943f9b21bb2e9def6596a6d1928e7b1f9bc1d80f4d6456f273dbd60867b528 |
Close
Hashes for cdk_lambda_layer_curl-1.0.172-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff93764e5d6a67ea38305d7924a958d717501fad616776fadff8e48c2c3c2f43 |
|
MD5 | 92cc9e52397e3bd77ca9056d08552ea2 |
|
BLAKE2b-256 | 4268c921bd9283485951a95d874f836d35dd83fa5076cb7b1ba86b5296d2bf4f |