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.279.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdc4fa03613c7e1fc0362b57c3eba82429e6e78a9aa5af684e0fc9eb7e6be221 |
|
MD5 | a3a568927082688ccc2dddac4d76c88d |
|
BLAKE2b-256 | 1f7dc4349e8b236cc3b37fcdf6b7677ccc17e89fcc7dce6c02b2656ce5bae872 |
Close
Hashes for cdk_lambda_layer_curl-1.0.279-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c53d522c3df8a24727bdde1189f86b61d61f4e41ac009abacb7b2ab0bce07997 |
|
MD5 | 63e34a6a48a48910de370cf99980bffa |
|
BLAKE2b-256 | 2de27656d55681e2167138efac81ea3ea89d6dfcc0d1afa4044a07447a95f10d |