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.30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097d33dbf0f715e443e5f9a37de487f65abff85c1cc6a0cfb95b0a1ffa9f1bb3 |
|
MD5 | 3a2c2b95255f9dda8e7aa735a475a1bc |
|
BLAKE2b-256 | 8c477fdeb47746124b7cbeb2e6fbdfa7ba2dfcd78a0055e9636a94f460e8f468 |
Close
Hashes for cdk_lambda_layer_curl-1.0.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bcc22cdf501b2a4369aed406f726eee179049fd3d2bd52dc06ddf98a33cc494 |
|
MD5 | a922bde053261488d745471efec5ab90 |
|
BLAKE2b-256 | 2103c9464824b5bc5f74b498f4891d8c923a42d9e10a1dc18971ac9bc0a5a337 |