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.681.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f501fd32ca833201e2ec912fdb4f2981390cbc35abca931e775583d1fb0ba55 |
|
MD5 | ac5031216fa7f3b5afddf831a050f672 |
|
BLAKE2b-256 | c3b6ad45b31b71580b45ed3197df35566efca76a6eed82fc33f19bebb6f7a92b |
Close
Hashes for cdk_lambda_layer_curl-2.0.681-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1baa61cea8c0b61a83bbeacf06e8893e6469aeb85928efac88439d337a795805 |
|
MD5 | e4c12249fff0d4f6acbe13c65eb69423 |
|
BLAKE2b-256 | acce413774d6625120878d2f1d52873edc8fdf572f96bb37e68b770b14d44458 |