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.380.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 928150e8b006b60c44de361c5d225ce087d283334fec4ba3423090346578d3fc |
|
MD5 | 057747ca368748f25ee2a39c659023c0 |
|
BLAKE2b-256 | 5b007e169f2ac2d02c6bdfb3aaef8f6ef4967507064606a9818547d1f09e921f |
Close
Hashes for cdk_lambda_layer_curl-2.0.380-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7c17b6f65c873b9eee14f98d361f56307006e6f8e16b92255b0376b9e271396 |
|
MD5 | d724fb60040c96c16754e47d1436d715 |
|
BLAKE2b-256 | afcb05a0f50e2367f3124543c8d24a8541fb429f0063388f61bf04044fa4be43 |