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.75.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34be9c1541290106bf076736905762277f6390628236883557bbf9ba54e49340 |
|
MD5 | a06739dec5effdc3badd503a6b17ab1c |
|
BLAKE2b-256 | f770260014603cce43d0f12888be6edc48e8f6d4e2af5627d0bd6c640297fa66 |
Close
Hashes for cdk_lambda_layer_curl-1.0.75-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 875bfc703b8df2de50d23e8bf721ede3a954a26a32fcb81170a090170b091426 |
|
MD5 | 89abc66522588ff0380edc81cd5f4692 |
|
BLAKE2b-256 | b880e30745dd926aaec1881e0688d6995c705dfe476a1c2be4792a076bdc7037 |