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.250.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4424a5145cbf5504e4e0969736c05ac634bcfa3eef41f641368ad73f537af560 |
|
MD5 | 25ecfe0f2e039c9425aab000f2974746 |
|
BLAKE2b-256 | 23d742ad4e8e34e6538be9ddf69f4dc0cf65b13ae209ed6378c852448ac0c0c1 |
Close
Hashes for cdk_lambda_layer_curl-1.0.250-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 571250f93f24f0eecca8aba91203eb84bff4e1b3deb4ff35eaddfd32e8f09786 |
|
MD5 | 264f3bef92ebb3dedf2f9c2a4e543d1f |
|
BLAKE2b-256 | ab540a97fbda6d0639e14341b09be6d0a7fc79f5405185d7151f6e77d30b0a82 |