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.612.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36f284d4e8847a531eefec9a23c8439645f0e43ef979e21c40e7ef8c0006e1e0 |
|
MD5 | bf2d278334fabe342a490df09fe2814a |
|
BLAKE2b-256 | 9b748f6dac2de8185b3fcf0335545e468a306b4019ecd71e7e60ac98d0555dc4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.612-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fccdff57aa1fea4b1cfa5fb945a2c1b7934b9f4a3de00d55247cd4061923ac64 |
|
MD5 | 4693cd42181e317ed3f55df38ccbac16 |
|
BLAKE2b-256 | b6e29497a89d8beca3b5d6477aa73fbdee198f4cac35805a9fd418aa19cea870 |