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.510.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60ea9aabe34af904bfe45f3bf3c21a1a031663203d7eec3fc9299e93c1514705 |
|
MD5 | 548181b183e3110f19f5f2d8722c86a7 |
|
BLAKE2b-256 | 1c2913465db14dfa19ad253a105c7ab071cc4e9be5b75fbc1f4af05893e2e416 |
Close
Hashes for cdk_lambda_layer_curl-2.0.510-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 336bf413b1374fe7a4b74a14626223d696ee6ea414078d36d9709baf6d036816 |
|
MD5 | 91b8c640dd91124a6e27544694e650f0 |
|
BLAKE2b-256 | 72b2fd607b1fd1d18c01158188b89fa1abd4a6d7fc239d6d9b91316cba795467 |