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.312.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d8d726bafdb8a9a291f7798d98f639e3a89930b5d13c11f018e8ee482ebdde |
|
MD5 | cbf42d75ab711a7eddd9c506e6e1fec6 |
|
BLAKE2b-256 | be55db6cbd058b9a17216e3e3d81a8f71209f46d9af47778d6d4192d6d84f046 |
Close
Hashes for cdk_lambda_layer_curl-1.0.312-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe83f210f7dac64bee41f19e013c4775d108be736bca19f45f55ca9eff11d909 |
|
MD5 | 84a00d1dde78a9177f35c37390283bea |
|
BLAKE2b-256 | e58fab5aaa65c7c3fffd7c43439902acb43489df11279c9587a2fcc785b1f017 |