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.383.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e0d6c033d8620fa8debebf232480a207fb9a3d627077fd421567efdb115c670 |
|
MD5 | 96517b5a895ee8b3f06b65699fc15a25 |
|
BLAKE2b-256 | 0cba613c7f40f755f012b792aaf12aeb86e4eb49e7a776405db276df88d1f0fd |
Close
Hashes for cdk_lambda_layer_curl-1.0.383-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5f1527857c2d38fcb94f83449e95afe951aaa05874b9f3d8974493a535017e8 |
|
MD5 | a9c5f937dbcc1023fe2b91132893a585 |
|
BLAKE2b-256 | 9db1ef1878143abd68db5459fceaad424baedd6aad88411227d09cdf13d1a830 |