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.672.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fe92acd5fd8cd9f4b00d7ab40e27f1bfee3003515919e337df0871d4a4dd6bf |
|
MD5 | 31cf3a4d06e7e96658200cb04871e424 |
|
BLAKE2b-256 | 735761dbf8d007af23b368b5b03e83e973b688a172d839b48e791b267132be40 |
Close
Hashes for cdk_lambda_layer_curl-2.0.672-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42f1ece11a1d13cd76dd359692aebe48ba79c1b3ffcdf5bccb107ac4857ca2dc |
|
MD5 | 758dd49cb4bb82ef7befc9f3312b5295 |
|
BLAKE2b-256 | 490610d3113b8bd38b0f3b89a402162b0b74fddf1e3a580f3b876b1d1fda1941 |