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.733.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60f87411c41c21eaff9fe751fd9c4382275b989f877a367e54346112e9539742 |
|
MD5 | 64a65caa533adff01610459adbfb59f1 |
|
BLAKE2b-256 | af00d25ba94e33fcf2c82721e4bac3b72e684d7dfc04f0d983be74104f10d11b |
Close
Hashes for cdk_lambda_layer_curl-1.0.733-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eff00b555e147554d9534934137201a95208f77d3f13014e92efc85aa536cd8a |
|
MD5 | 20a73dc07293ddad89b22f9989556d6a |
|
BLAKE2b-256 | 7e18f37010b5b27691b9b9b10d0c9a6a40ff99377b78f100dbd747e1d8f1d182 |