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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b215f7288e4fd1b02ba2c51828892a4f77ff6d6441816a09b5205ae16fdc7d5 |
|
MD5 | a99bc9bd7f95e36f6ceec5e45726b9ee |
|
BLAKE2b-256 | 229c56cb8def97410799b32c003ec83de2df83193ddf41b51b270b8c5e332175 |
Close
Hashes for cdk_lambda_layer_curl-2.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc55a0f8a574f6b161cb8d5c03d1f90b955a1105c510c0a5800ba3c99a3b0172 |
|
MD5 | edccfc19ccb734e65d407284e21a4dd1 |
|
BLAKE2b-256 | 4b208c6b75bf6cbc6ac9c43ecebc287c176716d8359152f8e36c62892a6fd4f3 |