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.700.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0603c1d30b7deea38706d2590d3a0ab0f710fc795730a967d4d4e68f4c16203 |
|
MD5 | 2177228031c342bfbb9e6bbc599b223d |
|
BLAKE2b-256 | 2b341c92056a1b08f6db6aed0b0b1bad94abd8a6ddc36dc38ca1c374f057f108 |
Close
Hashes for cdk_lambda_layer_curl-1.0.700-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ee2de6486c2f71917e90a6eb78e807d348d2c4e71009ba05b55a1a45132ccb |
|
MD5 | c6ef6b5ba66e78a82cf9d91dc1b245aa |
|
BLAKE2b-256 | e2e758023da3e1b0f7f602d27a685b60024f2f2473517ed0d0c3ad97959498e5 |