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.425.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cc83e19aff54c18f5876db0ff190e023a547302c2a9d687e018b71ea4cbaa0d |
|
MD5 | 1e650347d78f60a9105c85e5d5f1da6e |
|
BLAKE2b-256 | 5a4cbe132104be867b439340e3ced53ee4aa0d3d8dccd122c7e4ea6b729a7ca0 |
Close
Hashes for cdk_lambda_layer_curl-2.0.425-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b31478772a0530f64ff770929fe3e2435e81d6d34c6cb424dc0f1f3341d52901 |
|
MD5 | 983651fc07fea037d86cc14bb651884a |
|
BLAKE2b-256 | ded52aeb9a3baed4d4f97ef17c934ba425a1a72cdcd4984462e2a673d94f0081 |