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.175.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce13a8181e0fc10a7ac9aa628b82b901870f131e89dbc3d61110286966aeffaf |
|
MD5 | 60fe328b70951e9b389a4c7b12cf7f7f |
|
BLAKE2b-256 | 371ff1402b440496d622550afeb10200d740e99833b40144c802171a5fcb690a |
Close
Hashes for cdk_lambda_layer_curl-2.0.175-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10587be43a0ac9073a172929e1a828bbf827a914a1c725e6996b49fc3205f204 |
|
MD5 | 5cc47c90e207413bb7365f18a4dee2f5 |
|
BLAKE2b-256 | a8e755f319fe65bacc492ac101e494c3d2c45b8c88567340f70b99bcfcfdeb6b |