For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 472f0ca5941c2a0ba5625b3785c795b3008c3e073d8ceb54854e95de76141aa2 |
|
MD5 | 07b9d96b1082eb77dfae8bace51d24c3 |
|
BLAKE2b-256 | fdce6a354455e6e9cad91fc1aabf6fe9079bad5c7180287c0b542e7da1585268 |
Close
Hashes for cdk_lambda_layer_curl-1.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 793bf9d83822684a05d3fc8ef09ab94ae450f149720b165b0f692f6da6cc54a7 |
|
MD5 | 08b808cf0bb381f31933bcfd95fcda2a |
|
BLAKE2b-256 | e69be637a8f0fc448f3401485196457331c4f2a5669de39d4d4f01e838936df5 |