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.428.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b9da35467d06f3400569eca64b698bbfa0deab862ca5033e5149bf4d96cd8e8 |
|
MD5 | 7f5a120105022ca3cb758570ec1adfbc |
|
BLAKE2b-256 | 1431fa13a5f674ce847b5deb346c8c6a669c655c9dfed17226ad2fabcdf7a03c |
Close
Hashes for cdk_lambda_layer_curl-1.0.428-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cd4d2eec111f0187dcc083b8c2682163ea7851c41117e911204143899954cec |
|
MD5 | 9f6dbb701d828d2e07182e0e93c5bfa5 |
|
BLAKE2b-256 | 61cbd07588830f6fc9c4e5ab96d8d1aa430b257d3096b1d9decb7e3e22ffbefa |