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.787.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8438af3c70c3bbe23658588e26226e3bd46ea4acb6e05afd2d8514c9e26ebc5f |
|
MD5 | 97b0c48e9ead67f8f239e80dfeaf8d43 |
|
BLAKE2b-256 | a7661f91baa3ec57fd1666724610c8f884fe4750ca80c4444df412dd127449d2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.787-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d990a6046e4ab6415a000e154566a873223c1a985a65629058516f2550aa8db6 |
|
MD5 | 8fa06419a6c05f0df50987ef6935cfba |
|
BLAKE2b-256 | 6233750533ba9d3380acce1ff6d774dd04724a51c556a8c7caf36a52d115da03 |