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.52.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2650e28e354c1727d5a2057cf2e892d61e04793b3acd2d10ae33ed95e2f9fab8 |
|
MD5 | d3e20472081c351f36f934f73ddc5c1d |
|
BLAKE2b-256 | 66e182593be2dbe9f04a614e60c40eec7a817ef178b3c9cbad0e4c7109038496 |
Close
Hashes for cdk_lambda_layer_curl-2.0.52-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624f5973cb1263911c5f5f430d12c12e93af731947d7dde691d82d6224b0f420 |
|
MD5 | aeedea1f5fec71186cd05053beec2eec |
|
BLAKE2b-256 | aa84c154d8128bc08ba51f2f653465b726add2241da7ce6e433a926e0fe0e4a3 |