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.403.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6798fcc5fcda2ae39fa500dd92f1f5b6bce2ae4be2f14a43c0c1a129d21d453e |
|
MD5 | d1c9dba52d255c5dd01ec4a83d3048b7 |
|
BLAKE2b-256 | 7625fecf9f3e3b260746d3d29bbeebd6b1ee045dfb264e5d04b2f9e5a6486a16 |
Close
Hashes for cdk_lambda_layer_curl-2.0.403-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a976dca2a6c2dc6054244bd637a957a9e69f90505b55e4bdf2c68b4ba8784e2 |
|
MD5 | 8c5102ce5de5a47e6e9d25af5ac68789 |
|
BLAKE2b-256 | 6db5f144f01dca2123d38c3c9af81ee95f64cc0a62f3205ca98145b48352d2be |