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.534.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | acf14d65db0374ba1b3eb53cbd1a37f26c61ae166d2fba0bb2886c22350c716b |
|
MD5 | 996d6d43da1f260db6d7b60d4a3f611f |
|
BLAKE2b-256 | 64b484aa29773b6e42cf23a72a4d0501432efaa35eaa2184e8d6eff62c941629 |
Close
Hashes for cdk_lambda_layer_curl-1.0.534-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1d6b6a42c0982b80ecb9bad259b1b1c01bc0355dd008f0166867d3836358eda |
|
MD5 | 7ee7a02b299bfa12334728c0b8b970fe |
|
BLAKE2b-256 | 8562090bc6a5f51be83918af7377f3a806e79712d9657403df50a32d0e8f243e |