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.823.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da4ecabfaa4d457de18ca111f72d470268e7bf6213e29c32b63c4015d2b0c40f |
|
MD5 | 7bd5fb29c1c65c58e0d83df2318cc4b2 |
|
BLAKE2b-256 | a420796ca58d7b4a46ae1e2c34cf41a88bde08951f4a9a18357907b639a73386 |
Close
Hashes for cdk_lambda_layer_curl-1.0.823-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68122addb74431cfc483836aa5d8ce1d8f6239882584dec9bebb2070ac83b56f |
|
MD5 | baad095398ae64e3b02961dceabc9d08 |
|
BLAKE2b-256 | a61cc3f5fb9e712e960a506cfbc8173bf80de742f1ac5bb55cc97f1b1a14c2ea |