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.566.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 214acdb45066f5fabbc325a9964c94b274d950d64d52497b6f7ab6e48a36c693 |
|
MD5 | 80cc05380e22120e7f5ce87b172dd96d |
|
BLAKE2b-256 | 6a1e81565cc23387a8df8168d506ee44ad8a81e572e751d22add8a6de9471e6d |
Close
Hashes for cdk_lambda_layer_curl-2.0.566-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 522fb81ce15866730842db3c4ae8c414a0de5afa6c73d8a90f53b140213b1d40 |
|
MD5 | e407314ff4d892506899c889eeab014c |
|
BLAKE2b-256 | 3927437a737b6ae21589401ea1e81f38f3a890bf15c4245b0c417d9f0bf95785 |