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.91.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f65f121b65d6eca6cc6baa404eb8ec19bad45ca8d1a91151c0b08f486d8a6d38 |
|
MD5 | 92cb9d365b2eecc29710a1776c8c3e6e |
|
BLAKE2b-256 | 7265d6526fa26b2771b29e79f9286f287bc50dc9a372f489c365530528d24170 |
Close
Hashes for cdk_lambda_layer_curl-2.0.91-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cb46c3e234c683ab4634d8a4e120f2e5c04bead449c806171d06a67beb32ada |
|
MD5 | 57b00532259297047f96307f73395eda |
|
BLAKE2b-256 | ee60b03d6c94dfd9bc4be14fbad6cfa3a758cc47dfba8a29e5d21b9301c525ca |