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.470.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b4d551712faefb788dd2232e70841fd88d05995fafa39cb05dec5f75d5de148 |
|
MD5 | be5f345e8e04b41db7c11091d0056e0b |
|
BLAKE2b-256 | aa49f2d3124b1d11663b045b1295f4675b0550dc5572247fae0a59b550013977 |
Close
Hashes for cdk_lambda_layer_curl-2.0.470-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6a99305bf32735b92a1aab54b5f94d7c37be12f7ebcb8e33752bea25f9c8abb |
|
MD5 | 72d2c88f7d550525185b0b1748d11420 |
|
BLAKE2b-256 | 35fa639edf2c2e40a53d1977cea481790ce27fd79663ac8d2582b720ebfd2487 |