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.210.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a5771e45c1e603ad3a70971e1c443d55b57235c2d20697810f7c45b153633dc |
|
MD5 | 5d00c011e1cfcf4340b594d064043553 |
|
BLAKE2b-256 | cd99e09bde2f9fe4543e54e5de89ffa91590ca87af6f70d668db3bdb4a69ee29 |
Close
Hashes for cdk_lambda_layer_curl-2.0.210-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 950f75544b97911a894f313d629cc0faef1442753abfc4c0ff9819ac9e3d0d54 |
|
MD5 | eb96ae37082ce17556bde5de19ac77a3 |
|
BLAKE2b-256 | c20f88e7b26da53bb9fa79e4c03f8ed8d144978fc39b365726656450381d8fd1 |