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.769.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8d21f2c797fbea88e45a75d123a10c02a2c927f36258fd60861d01bfc667dd7 |
|
MD5 | 9fd337b72f0038f363f9edc99555ec5b |
|
BLAKE2b-256 | 42f7d602c2b31de2290efa1820b6024117fea451fc8593d015f5c9fa885ba5d6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.769-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 153267c92ac1a5a4d2cb3ac9dc6ffd9170ad7457f27e5fbfb2fe70d1d8edf0df |
|
MD5 | ae527ac9e7148cbe7a2e8bbde7035285 |
|
BLAKE2b-256 | 3c7349820402b27a22e46ae6da3b6861f31a9d713fa48e13724245ac08aeb106 |