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.201.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39967d5a372b0966a4be63fe8ae76d7afc02384cd6ffde422c51a5396686eacf |
|
MD5 | d4109613c6ebf0b425f7490b12f10a9c |
|
BLAKE2b-256 | 96532f985950c39c001f6949003d2e2fa0b05297a73d3fb0c8baf5adc982c5cb |
Close
Hashes for cdk_lambda_layer_curl-1.0.201-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74b7c44894557e2ed604118c26d90f4615a3875ccaeb4e2ec8ab78c0a466b000 |
|
MD5 | e3aa29b3fd18498bcf5968caba781d95 |
|
BLAKE2b-256 | d994ee2a1cc1e70a939aa6038eb2a7c9747799dd56ea29708e80a8017452d02a |