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.272.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69c69b322740204aa910d59fdd7e473702d8705f03fba8b4cbde7c2ed7b854cc |
|
MD5 | 029de59577fd5990be4037bf2132495b |
|
BLAKE2b-256 | 2f09b32859809e891c29c3f52bb8372932c659eaa1cf82e042ace5d8918c314a |
Close
Hashes for cdk_lambda_layer_curl-2.0.272-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f19fa2a470fd55e3d1ef4b5f9228aed7141ec3f859df1f76664e73ec417f025a |
|
MD5 | c35917d4258f874370fa51f0098a0c37 |
|
BLAKE2b-256 | f2e196156ff078e038db44b4299ad64f5a51807d8f09290e15646870be30eb82 |