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.639.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d912f274b802a6221cdc3918b8aaf8d730c00db1c18bbf0050fd65fd41105a9a |
|
MD5 | bd322e594fb5c8ef22756c5301365f4d |
|
BLAKE2b-256 | 9a7a62c8e7ff3296d89ebf6b39e80d0c461972f4cf763cf4f7777f11cd7e901e |
Close
Hashes for cdk_lambda_layer_curl-1.0.639-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fe206a31a1c3cd0bd5f7a3d0336e21bdaf9dbe05a9412875b3885f8a76998d2 |
|
MD5 | 76da73f7e8efb9df9d2792a917a1821b |
|
BLAKE2b-256 | 0791df730f9e79d87859dc161738da41a4c15dd2bcd85b2ad1cfc0734472cda4 |