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.539.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2530c368297c23aa05c92a79cbb93aa2dec13473f95a16177b83cba9666d53e6 |
|
MD5 | 4f1a223a648f5428c733ac4b06339e8c |
|
BLAKE2b-256 | 23f4ae41869f6adc44085476e5614ca090b1ac8692dba0a0a588252ed0f1f277 |
Close
Hashes for cdk_lambda_layer_curl-1.0.539-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e59ade66318d36c6ed9198bfe0e59f7fcb29ab45866ac66f00520e3c2d7a37ff |
|
MD5 | 62216a010e1a675c471f8fa7bf292c1b |
|
BLAKE2b-256 | 1a6f9fe74bc292db1ca2df5041e216136bb4d76257aaec36f7ed3ac995be8b43 |