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.316.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 980c5714c7956bc798358ae1cc83a56194c9ce31e996f30831108f3e794a91aa |
|
MD5 | 5cf5838109b7e0db90a443cc97df7ac3 |
|
BLAKE2b-256 | 35844d36a48bd1570f7816d8e1afec23dc7308cbd61ad7a25d56f92c99172e0e |
Close
Hashes for cdk_lambda_layer_curl-2.0.316-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a74dfad82dbf4c00a1fb686ac5f7f3f4fd6acd99b807faf86122f260d802f2ea |
|
MD5 | 5989b0d943923ff216f0f6939f357157 |
|
BLAKE2b-256 | f0406607de25f0f8f7834c0fbfcb3fc48b09bdc0a4cdabfa07cfac4d10d8c23f |