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.631.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | faa50ff664fb6813b6d3df99737d4b62e686e3fa8aa94ce3042af1eb744efbc5 |
|
MD5 | 262800e68f82a6e514501ab729397fa7 |
|
BLAKE2b-256 | a01283954a69ec3e5af729066bb76b919f62add5350045f7b77f6ff1681ee727 |
Close
Hashes for cdk_lambda_layer_curl-1.0.631-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f98718d6aa0b876389fad1dc2d77b992bfdf169370f1a91cab2ed293e1996688 |
|
MD5 | b6b2bc7ca56181e82bab7f240466bb74 |
|
BLAKE2b-256 | 703eb6dd896fdafa3791807f44912f1b7c9474f21c90b915ab6ed883497f9c28 |