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.84.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 119910fe2b7b072a7b5b8b06e9453faad46e753d288ad498f3ee939d725e09e9 |
|
MD5 | e14e98d619977e2485d339df4c51cda3 |
|
BLAKE2b-256 | 58e40d5b3ddaadd0fd1ee2dafd173cbcd6fedc10cfb19805b3438fdd25f99680 |
Close
Hashes for cdk_lambda_layer_curl-1.0.84-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69c2e730b9164417b912153285e1b832e187502111449ab7f3c1a971f1bf8964 |
|
MD5 | 78bd4b33b421516bd8862c4a352cbe86 |
|
BLAKE2b-256 | 8a328182e7e3305924541be5c4fd10c6a4f4acf53ff2e398860f7188a5fb8471 |