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.187.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cafe0aea066b7b2565688fa458dc849811c04c074be76619646cc1a468285fb5 |
|
MD5 | d09ac70d3ea2fc5d8ddf7e4668e7a2e6 |
|
BLAKE2b-256 | 7457ba965ea03d66cab5018ac6fd0863f8180e3d61875e58017e0ee347c76b5c |
Close
Hashes for cdk_lambda_layer_curl-1.0.187-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 760266c51e5549ee67942212acc583f65489c793871bf9d9c62248e0c8747cfc |
|
MD5 | 396cf699bc59a02a49df67d21c9b4ca7 |
|
BLAKE2b-256 | bef9f42476acea7415ac91138765038dd3549353b233429c7c0d2ce751eb8f74 |