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.78.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 783413a4e5cfea7fabf98cc231df0ced06711835db22112718a254cd7af31d89 |
|
MD5 | 3c12ca8a1421b4cb47e141910230985a |
|
BLAKE2b-256 | 71458623a23240c63277b0fbcf135fad6bd4a455f5997b48693403cdec85981e |
Close
Hashes for cdk_lambda_layer_curl-1.0.78-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c35ab6462efcb4ef2f90439e3f214e6f15a4f8cf1df194a628c2a685ca59faa |
|
MD5 | e53ae36870c153f1fcc4f8cf542ff9dc |
|
BLAKE2b-256 | ac6089c2873f0b418b001dbcaca49c94955a5105713f29e87dd8fcca10eae5d3 |