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.451.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea48e28bbbd29691004b31371e7c9748f3d974b1c0fa46d83366dc784364c97e |
|
MD5 | 7187d59401fd8f88cec57b0bd6bc83c3 |
|
BLAKE2b-256 | 20792b3d674266b196b5b7fd8cd1c7b50f7783e24eae5bd3821e5bae3c0c1aec |
Close
Hashes for cdk_lambda_layer_curl-1.0.451-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 275543638d33878862344915ba613484cef07103fb6764a298801938ee2bdd73 |
|
MD5 | 584ea00c0aef946bd0b6c7994af105d8 |
|
BLAKE2b-256 | db73d6a7335a99c797c9803d4929af5009b238dd9437cfd175ed1589f89ea895 |