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.348.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8949eb5db264218ce7bb32dddc836e3fbf761b0e3021c517df0e6e907c1e779 |
|
MD5 | b853b5d16c74aa3302cbbadad8ff21cd |
|
BLAKE2b-256 | b7872e2200961720e45a8bd01ed21f74edfcc0b4f6e0e2e5e59c2aae03f3551d |
Close
Hashes for cdk_lambda_layer_curl-1.0.348-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0625c7f478a43b6f37652b86d3c2cf6dc90b832e02c7994cb26451040865bdac |
|
MD5 | 7d2f1d1e1c7a5d249cbb741c2b2fa51b |
|
BLAKE2b-256 | f7c56a32a2c25991ac7303ce9347090e1a8609b6f5b6063264e0bf7805108a50 |