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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58a20ebea4e3cd24c728fd8827fb174104cf0cb2ea73567cfbd4b837ba047a77 |
|
MD5 | 8206b8cc879fd7535e7eccd67362bd37 |
|
BLAKE2b-256 | 347418ef3541faf98c873dc897a121370d9927fe9a3a361eab43ddab4eb9c45a |
Close
Hashes for cdk_lambda_layer_curl-1.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f870189d27cd9bf9d7935e252d6a69cc0a5511004a650e9fb4fd16113fabd7a |
|
MD5 | 4c3ed60f54163b36f6c28460a70b813d |
|
BLAKE2b-256 | 62c0e467297484b0c1998875e98d4bbb081e377a51c3c2220c0eae3908bcb4f1 |