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.719.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e7c76ed4160d3a5dfa3c98feb60dfcb6684b3c811b722ee5ff8f63fb524f21b |
|
MD5 | c1adfd746c066f35fda6515f1aff8a2f |
|
BLAKE2b-256 | a74f1dff1bf5d12d9e9a587a88348dde6d0bb207bbb0581bf77e6bea4f914a8f |
Close
Hashes for cdk_lambda_layer_curl-1.0.719-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c913dd6530112f7ac4f2b135ce6181dfa0ba13d99683074833f9853caa556be |
|
MD5 | 535b67636d4683b6160935b523caa61f |
|
BLAKE2b-256 | 6aef9fbb11f9ad68f5ac51bd5b6e037f60f66329e6e44d1f942585c936551066 |