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.606.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73650555c5dbd9b28e3126f32f85b4f99325164552cc6e93d395446504f77edc |
|
MD5 | dbd941b558e717941062355142229a92 |
|
BLAKE2b-256 | 71f6ff02b29f8919c4d3b75304d70502b2f25225837e808cbd4c481c5d68722c |
Close
Hashes for cdk_lambda_layer_curl-2.0.606-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94f68346368cf4a6b7fb7d491d73ca3b67172caeef56b36a4e203ac955fa4287 |
|
MD5 | 0f690f6711866371be006fb81536e5ad |
|
BLAKE2b-256 | aa61dd02f61655277eb96d29445d5876f534214bea7b800cb5f3300467cf881d |