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.703.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75ad2aadad3da501f83422c783980e1a86730dae97c4b1873ee3b061f24c444b |
|
MD5 | edc364bef804a4c843652cbadcb4ba78 |
|
BLAKE2b-256 | a21dc35940b362cbb55d537d8db11cab847592565a0fc38f63f983e4333657fd |
Close
Hashes for cdk_lambda_layer_curl-2.0.703-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 193a55f5b4427e304e2f86d5c56811f312082e4ecd2c128010aa8c10fdfb27c0 |
|
MD5 | 04f58d61d9712a9b3ffbc0305b368f4b |
|
BLAKE2b-256 | 534d05de29b68b5dd7a6682726d2280b8e606c42598ee06637efa46dc6b6dfae |