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.834.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 822c68838e5967f5daa153d2fb79136e8c1220b4d21cbd3b55b2bccd0529dd63 |
|
MD5 | 8560570ba84a0bc55987fdbb7beac13e |
|
BLAKE2b-256 | 85aeed325b6912d3758f96e603d594bb1e2acc70cf4fad436241e4c236e50537 |
Close
Hashes for cdk_lambda_layer_curl-2.0.834-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09911ce4eb224ae3b5651a7e49017496adf9624f86316a92cfac4f8d1a62846e |
|
MD5 | 5b7345068336185eef8b27408c7dd6fb |
|
BLAKE2b-256 | 0796ea149f92bb033f52542b4fb58807a7f90510c2c1d8b125fe1cdd9dcc076e |