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.189.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0729c6c6cff1c18dfba333ce6bbd8307c622d7985b5fd9e3e171aae46e738ee8 |
|
MD5 | 04665e81ef338e552fc9506366d0a4dc |
|
BLAKE2b-256 | b411e819420d0e28ba780d4fa89c1fc51baf800a249c1fce46c67385c2a114a4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.189-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7798948d453ab8e5c9787825998442f3f555f4b6033f7ae512e814527d7faf3f |
|
MD5 | 5876bf5f0388fa5a25c04cf5ce55611c |
|
BLAKE2b-256 | f0518f68ae90d7df90c83b17bd51760bedd9737bef43366af9719d9c90ea947f |