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.209.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e34651e8903051aa783157ab66a7ab4b0572ed6ddaebbf74aa1aa25bdeb53b0b |
|
MD5 | 8e4322fb03c78328b588901b248c11e4 |
|
BLAKE2b-256 | d0764951ff98d0295188d0befb1fded704a8fabed492c6f2e62edce0d7f72595 |
Close
Hashes for cdk_lambda_layer_curl-1.0.209-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b5f4abec3790767ed314d8637a6c67b5c1148288c7c1dc67c036d219433d817 |
|
MD5 | 397685901a38445fdb9c632968569fce |
|
BLAKE2b-256 | ee0df25563ec657e40600130b06f10ea1c2fbc39d3d8366612ee9c4afe09f0fc |