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.75.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e614212dac8801cb357a6dd51d761a521399336df88f3561a2615be8c9587a90 |
|
MD5 | ff17ef75b453b098980088b332924033 |
|
BLAKE2b-256 | 350787f35b18da0498108ccccaf80d6d7b1ab144461ddd15e213e3badac16fea |
Close
Hashes for cdk_lambda_layer_curl-2.0.75-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5e36db54ede1e5d9498d1c52a182f314c7c5a58eabc02f7224fa678532013b1 |
|
MD5 | 62d7c6308b205f77001d26c698f58ffb |
|
BLAKE2b-256 | 95b19c32fbd01790f64de11da946a9560e7212f4cb1aded73492bcda8624f21d |