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.61.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e8cf157b0ab2b0315d384419ff0121b868ac92282e5fe9c3ae6faa1c964cd79 |
|
MD5 | 1b267c48d9fd02e6e9ee76c6d7be9988 |
|
BLAKE2b-256 | 0c7c23e15b62d27e5d719bf283fb8482f63f47755d31d4ffd661a6bcd0668ea0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.61-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57b8ff9eaca56c411c7fdaf10cc8825b08749c3e08c9812752a5b42bef4a734f |
|
MD5 | fc169cc0cc3f872964ea56634054f601 |
|
BLAKE2b-256 | b2703a447d724504cecc6a653ba7e0bdb34059f8f5dd6fb81cd0d12227fb0614 |