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.594.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2af90537cee5afd18902fbd31115b1af0a69e18b528b0ce658689815898c20fb |
|
MD5 | 77a5794d7b48289a9c826fd9bed49ac2 |
|
BLAKE2b-256 | b074a55628a6f97bd62b1aa6ccfeda38ffc6fcf0cafd124cd6c5ed7379444925 |
Close
Hashes for cdk_lambda_layer_curl-1.0.594-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 652260e1d14b2df4ffb491685354c048a23443b54939605f9065642afb592138 |
|
MD5 | 0a35cdbfb43eb90b3551d4c3afef2027 |
|
BLAKE2b-256 | 088c70b71afb18b3029b677b865e0a648b5e4a9b8a7696ae7124ad16647d3d14 |