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.69.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e6e7a5efdd70eb80fc193eb265a6720f85606663cc4ce6277534701413eb91f |
|
MD5 | 38c435d82d1977462f4bfbbbb93ef10e |
|
BLAKE2b-256 | 112dc88712e61f79184e4848334616705f6d107ef2c998366586f4caf73a69d1 |
Close
Hashes for cdk_lambda_layer_curl-2.0.69-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08980741d60c29c1150e95951a0156e472c794c1f192e1533b3af4cc9e452ed8 |
|
MD5 | cb57a1d9f22160048135e22aa7850d43 |
|
BLAKE2b-256 | 6a23d8577ec6c3578b1a6cf77b63d416d79d06f6b58b41eb8f174808bb569569 |