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.677.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43dd0d56a98fbbe3e3df48c8e6d4a1b831fa9c5a291d1a58503faebb981d4f76 |
|
MD5 | e76b1b4e81860db0cee53b407cd17ee1 |
|
BLAKE2b-256 | 38b9bec51ffbb7780ce02ff110ea7cad2c046e1a728c87d638525743ec1dea75 |
Close
Hashes for cdk_lambda_layer_curl-1.0.677-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7fc41f47200e3860457f65daff503fa092a8702d6ace7d0369aa36cdd2d4994 |
|
MD5 | c5738da1a42348dfa1371c5d0cd77c64 |
|
BLAKE2b-256 | e4b7ffea3551f500a0ae423027cfd96b6840c4801823cbe170c7f87c09fb84e4 |