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.608.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 655c6ee8edbef924c76a18dede9500dc69838a4d595b876fbdd50c89c0244fb6 |
|
MD5 | 2cfe463ab091355e852954017f31360b |
|
BLAKE2b-256 | 1ad3261e700932bba82aa4aa93bb882db3d6284a56014ba212c86536feb70302 |
Close
Hashes for cdk_lambda_layer_curl-2.0.608-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d623d3f5825648e7ea790d17547ccc2d00d6b8d196561d2d3c1fca498ce04e58 |
|
MD5 | e3f1dfbc7d4c13cb7190b692830129e6 |
|
BLAKE2b-256 | 0df82770d04dd2ad27590ba5aa1f0d78002e219b7cc3bf9a3389155c7f7e6ca3 |