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.197.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 634f8ab452489f720c44e5399383342acee01d6062d426e76b7ec1f5c545c43d |
|
MD5 | 808a75cbbaba2cd6f074188ca588ce25 |
|
BLAKE2b-256 | 8357a2e84ac79d7ac79d2be1a65be6c52af37b161ea34c7437dd7b7172a6d704 |
Close
Hashes for cdk_lambda_layer_curl-1.0.197-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9466e022d050ae601c3db6cf189014034bc498b2827b7dddd5803db52486e6be |
|
MD5 | 0cdaab77409d34d3d573b4e2cbb30996 |
|
BLAKE2b-256 | db53c776c4edfbf9adb2aa0c9f201ba7b4942d81505f10f9c80de175deb6093c |