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.273.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 050133e66c3d8396ee4c8ffae6841db6ea44bdd0f48909a47f7b261237252e82 |
|
MD5 | 334caf58d61f162caaa0cff65c5dec80 |
|
BLAKE2b-256 | 8cd78e990e1d37027a57f94b141eb0e835d92511f81d874605879f7c3723535e |
Close
Hashes for cdk_lambda_layer_curl-2.0.273-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9be17ae817d91fb49777ca39b70a4ee07d04fd6a3e8e08d14f603697b8b29c2b |
|
MD5 | 174e0e24fef56ac0239aee7bc37cc49d |
|
BLAKE2b-256 | 444773984c980b32f76355d27ca9d22a351696d2cd234e2afe903fa1f9fbec0c |