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.711.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 935ebf8945a04642f340bda4fa001855aac3b187a4ede4673471aa79cd886f53 |
|
MD5 | 746f36e48284de90ddc75c05b9975027 |
|
BLAKE2b-256 | d4165c972a21d32f6f0e60c1c0a19e6e0e55eeae2d3dfb0c4b18c42dab038ae3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.711-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cfeefcbed23dc2c559578a6ed13b3a4eaaa049f8378cb2dc062876f2b480bc6 |
|
MD5 | d0acbef3f056dd3d6b5e505f6a100650 |
|
BLAKE2b-256 | cd33f137303dd08bc563ca0671d666afbcfb1922eaf873afd633a481fd556771 |