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.353.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83a8e0e4b575e1a33bf34ce748866a153c177e5d926b477a75fd85487f3fef68 |
|
MD5 | 72ea03bb69160003c47c2c382d84f8ef |
|
BLAKE2b-256 | bd4aac45cce680f988ce06951edc0a04c85d7780fbc3949f8eaab87634e578fa |
Close
Hashes for cdk_lambda_layer_curl-2.0.353-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5e5a120fc0334a8ec67c9b8af84552dece100fdf90d1acca78bbafabd9b0da8 |
|
MD5 | c8d34c8c9f4be481e19c01c909fa0040 |
|
BLAKE2b-256 | 8b00f2347ee62037356af22c157c09db956b5241dea853c0d11482d62bfacf77 |