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.327.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f842609455b8ade6b90e257769eb7533a284be456f7c1b48b90b2b0c6e1fd4b |
|
MD5 | 4b8f178fe67e6ead1596cd022adbde54 |
|
BLAKE2b-256 | cb5729087321483e46f339dc9f9ff987b9b9989d4f69f840d6ea4f7b55b4916c |
Close
Hashes for cdk_lambda_layer_curl-2.0.327-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecc013360a2de58c2f7a7b0fd851a1b01bb9d922d5541d5689a4b117cd564603 |
|
MD5 | 0642fbd5b905a43328e79b29a7e586d3 |
|
BLAKE2b-256 | 458f67c1f1d655e34d37ad2ff1e298ae93e379010ca251c0491402ac57549181 |