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.790.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39512b0c0bb1e098ae84d309fdf98726201f52941436b43d69703f0051e52c8f |
|
MD5 | 39a3bbc26d424c51e8b515fc174ab1d1 |
|
BLAKE2b-256 | 3004152f82021ab87766802ac8df2a23e1160fec9818af0b7207c6f27a3431a5 |
Close
Hashes for cdk_lambda_layer_curl-2.0.790-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ec37cadb7f98df5f0a730b57ecb2de7a04e01ac0e5123a2ff56fc47e63bfa42 |
|
MD5 | 719bfd84461cefcff09a953a64023285 |
|
BLAKE2b-256 | e0ef2afceb094ad58ab7406d81e4b231f9764fde8f3e62cdae3fc038fc66443c |