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.141.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 878ae4bbdfe6e5e2f0d984dd4a245cd12fcdb00c2ca671e08af72e5b553359f6 |
|
MD5 | 61574af8aaa15edaebcd845e5ed670dc |
|
BLAKE2b-256 | 93aea430eeda7056be7f37ed0a840f3f48f617811d113c0f45710e8cef9e38df |
Close
Hashes for cdk_lambda_layer_curl-2.0.141-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 793dfc5cf011b9245396d26896881904816cb63e1ffb735c249f75f3a4b8373d |
|
MD5 | 6c453d9882e7e3f8a5df6f607e7974dd |
|
BLAKE2b-256 | 6851129ba9d20d4b4418a5843ad44bed11c257d9b7c79e4a7079b7b9a62d672e |