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.351.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa8dc20f21c065cc2cab5892518202e5fbcaf92a8241122c851da0e284c74da1 |
|
MD5 | 20fcb2e9b6a444a7d37767abae774343 |
|
BLAKE2b-256 | 29a6c694d80f18fe00d91f78162a865723740788234101376f1ee0ea0b43b584 |
Close
Hashes for cdk_lambda_layer_curl-1.0.351-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7699926cd50e3c634100c87bae7d154d39828a9e1fd3cce7eafc1d0190f31123 |
|
MD5 | 17c6cc1bd87370e41f6d40302f2b8027 |
|
BLAKE2b-256 | f9a35d0b97e853f99403cf8be6a0b873be6f0a04fda314834ea6cb77fd2974b9 |