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.822.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d5d5ba761ecce209038e48ba88ce9cbbcb2097711f88dc382c5b8d073b01aaf |
|
MD5 | 13a53295bf107f5dc344bd9c8ae7ec0e |
|
BLAKE2b-256 | 21800ee4e79b464d0a293e549f2537d6221a04e266dcf05c3d5e65dca6e3201c |
Close
Hashes for cdk_lambda_layer_curl-1.0.822-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb66a055a2c9fc5328c43aea725c1096b6e7ff64a1aa9017fdb9f60a8267a68b |
|
MD5 | 62b7b63e4cfd939628c6e38193c69cd8 |
|
BLAKE2b-256 | ddbaeb586d5927194bf1f83ad20f75b89c9dd43a30dba3abc5b5fc249c3dfcd0 |