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.788.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5841f567849624a92e4e32266bbd15e5931a186d5f38ca0cba5f9108ca66a741 |
|
MD5 | 16ca9a9f4caaddaba9bf92fb4059160a |
|
BLAKE2b-256 | 0e7fec192bce5a85d3a496cce374e5ee583b98d696fd812a6b8b388f5d34e7d6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.788-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edafbf78211bf084c06e28c59125067e8bf5a994f5e9b29cd6a70569baaae5c6 |
|
MD5 | b83f3ac441e09595dec75a73952e1dbf |
|
BLAKE2b-256 | 1c216f87887cb55ed74a630fdc20d368b0b8b387f20520b31f9f869a056c24ab |