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.40.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1948306a5dbedb89c9738ddf6a508cfa8dd352d478cffb554a07fee4e73d6a15 |
|
MD5 | d1097299d31390cbe63ef1c4f74e64e2 |
|
BLAKE2b-256 | 1596977b23e2bb28cf4124476a1005c462f9b67476d812266373967f6d7a3daa |
Close
Hashes for cdk_lambda_layer_curl-1.0.40-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 316fa4137a377d332fe5b9a93a0774a372e2b3e9db381cd98326290fb1c84777 |
|
MD5 | 1316fc35d16e8ba2cf02f0d73ba49dbe |
|
BLAKE2b-256 | dbb76a95b9234dce89ae37cc587c235312f217a96188a6e777473dadd52ec159 |