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.96.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41d2ea19642e5f1655bdbddd6903ac28620f3e8994c14678157dbbe3e107902f |
|
MD5 | 4ff48b88863fde433720418896fcfbe0 |
|
BLAKE2b-256 | ab2341765de3b6505d8d11b264beed2042be63338ec02b72804a51a1f92db747 |
Close
Hashes for cdk_lambda_layer_curl-2.0.96-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5ed8c3a544d393a15998a2dfb85389e14a2b73de413ad1a7ff469da210560ee |
|
MD5 | d99105ef2375afb68f1d3b5dd5173fc1 |
|
BLAKE2b-256 | 5517afaf81a07fe32615e04d6f99d3b5a2f2ab9495c119e3855eb7fc770fd8c3 |