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.479.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae19ca568c2ce322293dc0411aeb75bd1833e9c8a41baa1bd121303397242ba9 |
|
MD5 | ff9682023e0b5ecdacadc1ea68a7dc1e |
|
BLAKE2b-256 | 75096b76275acd0e91a617facd21e58e799418b12c948cefb70c3166719acb32 |
Close
Hashes for cdk_lambda_layer_curl-1.0.479-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 038db02642482c9dc0ff520adbe66a60ca99730b53e3114a0bddb2ec411985fb |
|
MD5 | 36c227496852db7488316cffad7e4c4a |
|
BLAKE2b-256 | 1862a056dee913aa24952f29a71cb5782cea595ed0414da752873f52b9f0df9f |