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.295.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3bdc9a4875a8d027b4476ad0874f28b4170bc6d6d4474ee706c2be0f7354f95 |
|
MD5 | 5b0d30e021fc277f915209b87d3160d5 |
|
BLAKE2b-256 | f02842c8f56a3ff3727110e4c5a517fe788967bf09ec75d06014abf49a9ce461 |
Close
Hashes for cdk_lambda_layer_curl-1.0.295-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4abbfc8ea86f3f5e43f79188e1e37d8d7561ad74d1965f07138a5526e098a3cf |
|
MD5 | 80942d5816afc8266c6e9c81312ebb89 |
|
BLAKE2b-256 | afc0f0067b05dab38574856a355ede71f3ef4f7265080a19cb34066ebba00532 |