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.154.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb93852e2a134bb9f0cfdba4b453b701172e4186ebf2dbc63278fd62f2db996a |
|
MD5 | c427bc6defc92bd4599946b2e17fb0d1 |
|
BLAKE2b-256 | cd8bd52dd412dacb413d4be061aef1afb66cb54fa32eb017beaad9e291a44862 |
Close
Hashes for cdk_lambda_layer_curl-2.0.154-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7ae4c82b799ade6f786499710fc7a9bfc8244a36d6d1e9252ffcd909c995508 |
|
MD5 | 8647d4fa59db8a75e1324a0dab82d335 |
|
BLAKE2b-256 | 4980dab198576ea30f324ef750c90f2ba650c8d9753cb53a40622a1f5e85f6e1 |