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.782.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9fa4930b9f728e09c453c80e1d66dc3a10747b55c78ad254fc70eeaf07c9e79 |
|
MD5 | 7e08d35509eb382d2c5ec6c0cf1cc549 |
|
BLAKE2b-256 | 57ed09cd28568e617d32136f3a473e1a4ba268522fa7871f0ee5a092e8e943a0 |
Close
Hashes for cdk_lambda_layer_curl-2.0.782-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1693a175e142fe6484aa6fdb57bfb2f9d3ed8fdfc04b1f13674c269fb070556b |
|
MD5 | 102727aeb97bf7340df0593b4b405367 |
|
BLAKE2b-256 | a8ca4445c38ef8768276a593563a53569436d224851b3ac7d3595425a2ce447f |