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.165.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3540208672254746de48ed7dc015c364ac3a043a2b2ea6b3e0a6224adc852c77 |
|
MD5 | 8f8f8b7c5c82f018ac50e6130c92167b |
|
BLAKE2b-256 | b2a7c637a0ba28c71919171bb7a55dd6c4f8d594bc9f6ca9c5e16d62dfb49acd |
Close
Hashes for cdk_lambda_layer_curl-2.0.165-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d8fd9c95769daa9af8153caad18ef91005a7e6c5ffab4638486d0e071194e2a |
|
MD5 | 54a9e0e4ff05d6dae9a60c48677bf093 |
|
BLAKE2b-256 | 485ab3ea94f8ccc647a940aac55396afd9459eff94a9d2eb99cc483d2d819bf1 |