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.578.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d69ff9b192fcc239f48fab7fbdd3b352ed916d1002d57bce3910ba291f7d9e7d |
|
MD5 | 2d724bac4cc2a00843252fdd096acf7e |
|
BLAKE2b-256 | c0946440803fc505278642fe1ec6d136b8ad70f9579404822d9fc31e0c4612a5 |
Close
Hashes for cdk_lambda_layer_curl-2.0.578-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fdf763a11b8e83e09043f7b4ce8061fad70dfc910fe3d3f8230d4e04f104275 |
|
MD5 | e28ce41805d2477cfd12213e5594d693 |
|
BLAKE2b-256 | 75b81a203b39865199b356639c9e6d47f885a1f7b3d4fe0e6af8cd2b8c57e29c |