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.792.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 055602af8c1f47b2ae42b7cfd1d82001c7c62dd74808b0d4671ef8dad795c6e9 |
|
MD5 | dd09af360f57962e963fdae89ab3e5ee |
|
BLAKE2b-256 | 56a3671d1b904a12908487afb4cfff2486a43080871fe83125ee5a21598bede1 |
Close
Hashes for cdk_lambda_layer_curl-2.0.792-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c7c862fe251896896c6c65b14256e4de5cd05baa1b1fe289a8e669e54afe6b4 |
|
MD5 | 0526867bf5aa6c2c114303a60d8b3f32 |
|
BLAKE2b-256 | 914953f29e729c1deb62767fa5ee8405d73922f900c0d7da106e932776cbd7ea |