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.513.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 640460715eaa8d589732cbc62d70183ce6f78bc7944152f47e197cb542855c32 |
|
MD5 | 58a007ada4b7610bbaa63f46b872a8dc |
|
BLAKE2b-256 | cde39b718145e8a8a29007806e313cfa546083eede880da3693e5881f51a62f2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.513-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6135eb785285d91c4be2e6ede68fbcc7910970890a7993e96c4d2ea1d63cc7ef |
|
MD5 | cc3a2dd157b8f89073fcc402f673b358 |
|
BLAKE2b-256 | 076c14fdfc69b5a111ba2fa6e4c285e29cc55a611b139196610d7c4bf1079892 |