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.270.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe35767d3ef953bd5d4fd73bcdccb30c4e98646472b27831e21d541486a6dc43 |
|
MD5 | f56248b8b8b10b026da5962d1465fe80 |
|
BLAKE2b-256 | 44a7154d4fa2a2e72a37c083e5a28e061fee59317b77e0dbb2f5328faf9d579c |
Close
Hashes for cdk_lambda_layer_curl-2.0.270-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dea70df050425f89e2ff72a7330904410e0510d247dfead46bcbb108bc6a5e9a |
|
MD5 | c4e73c004b9488a50522eae2d8064464 |
|
BLAKE2b-256 | 94f2bb54a057736541a643ae68cd51dd4a7a658574482c4b1805ee46ad98a15b |