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.101.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ff9ca6741057f7cc4c6142033de2f451e65c70febc7c7f1fb1b1daab2c04337 |
|
MD5 | cc7c051c03ef2e0c19d312c8c262e7bb |
|
BLAKE2b-256 | ae98abed3c526b8510cc71142f38b76e91224ddb6ff2adcdc76cf946607d94f2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.101-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82e5084f51ca13da8026dbaed3b195ea2ea20d029c579d3fc86e012ac2ade6f9 |
|
MD5 | 8ec1326431975f7fc35a838dfd7b47df |
|
BLAKE2b-256 | ff6dfe40f983de0b466b05f436e764dedf9ce5b06c29561b45eb4d4fbca74b17 |