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.107.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f18403cc130c1bf1ed4da70fcabb5b70771a01c9de3aa3dc8fa2bcbea4d94971 |
|
MD5 | 7907332ed7eb54c1b25ca301ae22e74e |
|
BLAKE2b-256 | 0ba2688e868d05e13366f42f723b139ccac8a72a4de1b4af2d447086f71944ad |
Close
Hashes for cdk_lambda_layer_curl-1.0.107-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36a9dee0f9bdf63027757ae35e8eafee610502c690188f530d7dbc922887ca82 |
|
MD5 | 6a9036b4b8b904ed29b0973aa378ee48 |
|
BLAKE2b-256 | 21f9a326ea14de17b072cbcf88eeb26c7a2e406ad6ea9e61055d311d6b8455a0 |