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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12863763b6d7d21bf9399d2280b8665c985d3a5cad418c580afefd79cedd8aa9 |
|
MD5 | 8719ede797c5a48731147f4cd1e4b093 |
|
BLAKE2b-256 | 1e76527e2aaa40e2b855aa722d0e527c895e396b615a7799c2247d332d71080d |
Close
Hashes for cdk_lambda_layer_curl-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd12aaeaedaf7655a3a069caf9671d560a4186af1dafab2e8c89e0c6e7b33915 |
|
MD5 | 6e977d3aaae157bf875d176fee02a838 |
|
BLAKE2b-256 | a667a4052d8da857a4691145b68a5704658338336ec10063c80930cd2251df47 |