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.724.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ac777180eebc32da17176f1512a15171150556c32176364f901ecb986f01393 |
|
MD5 | e42575186f56c9abc745a654c120406c |
|
BLAKE2b-256 | aab9254f176ea5c75fb6031316ee4ca85f130a6512952a49272f1d8fd90c1359 |
Close
Hashes for cdk_lambda_layer_curl-1.0.724-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae60100b3b8a4d3bb82fee4a042129fd9440ee9bf22ef7589f9952b8e4d53757 |
|
MD5 | 2f0bbec835db7b3d0bc85f2815806d2d |
|
BLAKE2b-256 | 6ac50f111cf3abcc6e1b4359232889925c75161ae47a5efc8987d52e53eb53fb |