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.471.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b330312d7a9e6c7a457ad0b7be5a5fa9bd75b48efba85a4b3f350a3825786d94 |
|
MD5 | 7be21a239ce5515b6e9262d04e2d6793 |
|
BLAKE2b-256 | 4cd41937f8a4acdc8021a6de8e75b6821feff30db96a7635fccc990df8dcdec3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.471-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4fc916bed9a5cc7878a020183f38e5f88434f1288ddb265d5d816938517e541 |
|
MD5 | 999643366382d23c373404458403d20b |
|
BLAKE2b-256 | 475849ef16bbf7468bc1f46278793231e31dad1b910b48620ab4dfbe9baebb77 |