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.754.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5ed748c6f70a96661df1e7cade0074452f9e07b109d0df27cca45b624c0f490 |
|
MD5 | c960f8711dc08e3ebc999cafcd2f46a9 |
|
BLAKE2b-256 | 7c48a51c57fcd8a3d7c22f7b20febacc126d77bac77f23899e1d48f6a93c5a7e |
Close
Hashes for cdk_lambda_layer_curl-2.0.754-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e055660e7806abb6ad783bd96615b7b2dc60806cdd8a000d763d5e62771c034b |
|
MD5 | dc8149a0b97831973fb0d4add851ddf7 |
|
BLAKE2b-256 | 3f259ee8830243537fb2c28cd0210d1f4480796b941c47cfadb5448e1bd56504 |