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.265.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a778f1489a43e9600b2cbbfcb129c7f684bb773cdc1b4e6bf7dceacaf2f1cfa |
|
MD5 | 70fedef785b66eb9954e7728f3162448 |
|
BLAKE2b-256 | 87b233a25c92167c0fd3cf31b50f658433878bf14037d04bbdfa0ed25e91add5 |
Close
Hashes for cdk_lambda_layer_curl-2.0.265-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f3746d4f87c10acdc4d07d5723906ebfca0ab754a3079688f99662318edae75 |
|
MD5 | 2cb1bb31fdcade8dd330172062599374 |
|
BLAKE2b-256 | 1bf9c07daaa353c4ab25f9d6456cd96856d500e9b96aed23bdd7b723555a1733 |