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.42.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eaed34cfaf78a85fa408ff0e55fc662c44129ccc6904c2fbbf6e04a386b7ad4 |
|
MD5 | dd5c1e2ac3e0e155763d65ad8b237730 |
|
BLAKE2b-256 | 0ca7f03f84ce8858adcbe308e4e2bd179b71ec9bb766f6357d3a31fe2d7b1bd3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.42-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef2fdd1ff2553f4d8341ccca51b9a736301d0281d8dd33b24b59ee92a8d6e223 |
|
MD5 | 085e1f16815fc65d2bd58af4f799efdf |
|
BLAKE2b-256 | bb762459001dd41e5ffb34671f9015720035ccc0a8c148bbf9cc678d291326b4 |