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.414.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16617180ddbe6938dfb3cd43cc1bec02f08b0e5483febfda6a12040346c45bba |
|
MD5 | 58cae64167fae239e4022ea1bb09a8c9 |
|
BLAKE2b-256 | 57144df30e5d42fc10ae64a80213c94fc1f385d0379fc6fb058f781b7a9df8eb |
Close
Hashes for cdk_lambda_layer_curl-1.0.414-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a918014bbde7539a5bb0710740cd26d877ef20a343ea17f6f34e2207a7d3f92 |
|
MD5 | 229685cdf950797119898a71fe86b2d9 |
|
BLAKE2b-256 | bb9318143492c0e5690889fc4b073d7cc2d70f4a7f7c72a4eaba91cc9eb4849a |