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.773.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4448ceee986cdc160096a2b185e1af6423a9db3f7443e918822cda7032dfcba6 |
|
MD5 | 8519b65df33d79eaee0dce09c6142d00 |
|
BLAKE2b-256 | 669d22ea3d31762a46e868239dff548565eff168b8f4217c51162ae7647a5b6f |
Close
Hashes for cdk_lambda_layer_curl-2.0.773-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3854b2dc9028d566c600b6478ef09c740463dab854faa1c8f80e40c94b7eaacb |
|
MD5 | 3a8f422584cc562baa0a5723ac4fb492 |
|
BLAKE2b-256 | c8b643ed893997d025f20a3f70589539ffb4b28ed30dfe7f4a590dfb3e754d26 |