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.692.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b510e9fa874aaa2bb0aea276eb254bf2a7850a125885652eb15f31c1ffd2960 |
|
MD5 | e9573f264bf3b6fb70606c108ba34f10 |
|
BLAKE2b-256 | 1159b8b0c64b4dd40940a8fd76967dd615c84dac63f0ad50586201d63e198b37 |
Close
Hashes for cdk_lambda_layer_curl-2.0.692-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93d28f1e34105fe8ab05943a0a8fa7a51861fcced3bedca1fa47e880642cc405 |
|
MD5 | 4f9b283ed0aa16ee252473cbf54471d0 |
|
BLAKE2b-256 | 185a10589070a1dc164a94e7c865df23ab52f445c929f6e9ba554605c5688bb5 |