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.143.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a5530462745baf0a4112a62fac435bfb67992572d02816bc5dc739b0f315888 |
|
MD5 | 10007e482d59cf9f8a949caf899a206c |
|
BLAKE2b-256 | fa102960f13a9b25718a1b7ed48a1a76b43e824fb94fd5900f0ebbca1653c95f |
Close
Hashes for cdk_lambda_layer_curl-2.0.143-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06d334769faf41918833a7663a86cba3bc69bece2c2e21c6c4ed41d06f30fd6 |
|
MD5 | 153734607012a28ab77f6c375b9b3a8c |
|
BLAKE2b-256 | 0c6c86efb39bff7b81dbb4934885fe1f6459f3325aef7943023525b1184e502a |