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.36.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d642a7a1774acbfe921ab8c8043b96890cc46f66c0c2dd0725465159acf2834a |
|
MD5 | 5cffc39a2489d90cdbcf4bd115f10b4c |
|
BLAKE2b-256 | 913964f6c72a2d17e73c58cdb833b10f27aaaedfe7f966a8b53adc1287fa69e7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f42d3427fa0eb18d3abbd2ebbfb9a4dff36bc16a9dc4ddde4d2e400ccbebcb4 |
|
MD5 | beb38935486516ead4dbadba94a0ee43 |
|
BLAKE2b-256 | 3f4d16f6120b1acc507cb2cf646b940e4ccf7363f2e22a18da203c9161f48298 |