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.186.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37778d719bc504f689c4291c54ae1ac8cb6c732a480a41d8dc66696043ecd428 |
|
MD5 | 898a3d1115d0781a4753ee9d7d6d7f8f |
|
BLAKE2b-256 | 62b1689b9c7234a847012def981ef8fe3f57f20331f59d9a6dc88a10705ca79c |
Close
Hashes for cdk_lambda_layer_curl-1.0.186-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc5b186907a72c94f1c2f5083418878aab7adf68334c6dd53ac5572c8a56d3df |
|
MD5 | 388a21f8b5d5197eda72cea56964d959 |
|
BLAKE2b-256 | ee98c6b7f89d0f059a8d014cd8c8c911e6171cb8f191547fbe40cec6454e41cd |