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.287.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bb40cb498712f21c29c42a7430dde2995ebafd0a01dbd91a7075af23c741ff4 |
|
MD5 | 748145bdc78a2461baeabfc3b40529b5 |
|
BLAKE2b-256 | 6a6611febc157c854cf84b7eca24137ffa49d7eb10c1ab10ad9cfc2464c99aec |
Close
Hashes for cdk_lambda_layer_curl-2.0.287-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a9dfaad6c742e5ff9c4a7a63eb362453c3c44cb67f30a60dd41ecce893ebabc |
|
MD5 | 998df1ab8c3496834294b4f1d47a15ec |
|
BLAKE2b-256 | cc70fe97568289fa4ef477cd1563a6baa8ea722c48ad909ea9cd2be27d68e526 |