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.621.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd6dc80a7a2601728deecf713d912d32153dfb97bcca3f9595ea08bdbd9978ff |
|
MD5 | c55b7e28000ca829c45267bfdb3095ff |
|
BLAKE2b-256 | 156f94ee24e23c8804bd200f0bc7300f99023db3e0feeff337b3f3e096270583 |
Close
Hashes for cdk_lambda_layer_curl-1.0.621-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d414a140e428f0e21b00a9a547284d22216b9f50c72afeff35d29350305798e |
|
MD5 | 79c8a2a2c5fe899ad50c95879532a2ea |
|
BLAKE2b-256 | 526add6dcd2d7b15a636acfeed381eed5ab7a3233ad3523c643a1cea45b7a5d2 |