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.364.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74da760ec8267ecc71805557465a9b5dd9dabbd98cada14fd56a66f649fb19ef |
|
MD5 | 79c032a096591e48ed86f01e38cbe488 |
|
BLAKE2b-256 | 44ab5de16885c2b9e5969b37225771462888ca6f5e0dd41f99e5fecdef51af0c |
Close
Hashes for cdk_lambda_layer_curl-1.0.364-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7267c92cf889157920c7565cff90fd671b0948008c61f4322192b5679acbe24e |
|
MD5 | 3d606ed8073f119aab715a695122d4fa |
|
BLAKE2b-256 | 5c91d014bb9343f358e83fe93824babdad01a29433f25f54dce8e3f29d5edda1 |