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.65.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c38d3c497d6f5979283a7f4129d44d3fff82b6eb59ddba1cc8499c1ae7f2aeff |
|
MD5 | 6f6ea4171d00a18dd55eb755f2cc7ec6 |
|
BLAKE2b-256 | 922321d1a2cfdf2af76ca79ccac41df93a01938fedb24c2d5103be4642eafbec |
Close
Hashes for cdk_lambda_layer_curl-2.0.65-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bb52802543efde7509a4da0a98e51f36bd144a12603ce177f71f7fa1865079b |
|
MD5 | 682abe3af9ffbd3f6e41de7de831771e |
|
BLAKE2b-256 | 3fcc088d694aae99b5b86c84007b4cf65b8ddcb6772026888d79e5e92b96d609 |