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.167.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 833e6d34b1b1489cfa5ad5a8c4360ec4c7eec3a9e65df1ba6b1a8545ce509e09 |
|
MD5 | 40890f2817a5e51775af3a7bc596f543 |
|
BLAKE2b-256 | a360eb55e74d0fc4170f5de23c4993bfc356f1dad29027c2d5c767fac2afd1eb |
Close
Hashes for cdk_lambda_layer_curl-2.0.167-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1667ec00093b5dab6e806dc4d622e5b6bebc3d44a0d683de8eb3256470e40c59 |
|
MD5 | 7f32f74f4b78241c3ef1ba0240eafca9 |
|
BLAKE2b-256 | 57123f2ca4f4b59bd5372363f418eccf362a715486a329845dd5c356be4e391b |