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.468.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 784bb55d601c10d17882916a2ddd2ad03aaebd8877e098558267832545260fda |
|
MD5 | 45e2fd149c0124b60888bf1530f175fb |
|
BLAKE2b-256 | 9cafa0b38b1ff076873c87c08da777cfd6e41e23c3aef7d170a76b608780da08 |
Close
Hashes for cdk_lambda_layer_curl-2.0.468-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c1a6be5c87f3b60bc53743553e65eb48c830fbbc27e43d90cb4c89b7bfea9ad |
|
MD5 | afef4bccea00d49c9fd02a833f82b741 |
|
BLAKE2b-256 | fabbd959f9f793ed78edb68584a995372654da465bd8f91ee845e4ad17ad6742 |