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.371.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd01c03f4500508a38cc7cb6bd03ee550117e2ee4bd3d4f682e50f23f29bda5b |
|
MD5 | b0c5a5333b92b898b821401772daf4c5 |
|
BLAKE2b-256 | 7c1bd0464b49205638b9a6fd448fee93580435c593af39fd1384286ccc804f06 |
Close
Hashes for cdk_lambda_layer_curl-1.0.371-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8992f163cc68df56dc72928a2a70b251b13cbceaf0f037cee5ecac90452a88 |
|
MD5 | 27b0266d6a1cf6194e65c7942d39889b |
|
BLAKE2b-256 | 55e67a12842870aa844fcac1c3a108c8bfdb7edd868714bfb071f1ff8a980c7f |