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.199.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f06eba1a91fd27e4650f7ea356d48d9b6b16d9e12451ced3c41d1d0668455fb |
|
MD5 | 003e8d82b442851283f21bffb45d53fc |
|
BLAKE2b-256 | 660f6befd49598a4fc124b0ad25a6e0b8ee1afe9b3a9a5f2ba1fe8b03d45036b |
Close
Hashes for cdk_lambda_layer_curl-1.0.199-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b62fa6818493486e01d5fb1408263aab190a94b80552438ea24dcb209b3252f8 |
|
MD5 | dff9293c4da51a555112f9ebde07d582 |
|
BLAKE2b-256 | 58b9c2ca52b994b3a042ac51ae3c6797148c3216dfec28b0ce090d0f25d8baf8 |