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.283.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f1cc052ae433450e544ac85e265fc9e2175796358309d733598e3a755b5815c |
|
MD5 | e7491df46a826f17a7cc4e1c58f8706d |
|
BLAKE2b-256 | 67a36564eae2baaf4d5d8ee6d8385744e1f5d2ddc0c9c16736adae3c7f7c230b |
Close
Hashes for cdk_lambda_layer_curl-1.0.283-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d583ed609a115feef3d443f1ba3f5cfb67cef36a888f9377925c846b02a6dd5a |
|
MD5 | 44da525b7a42858889dd5b9ac56f4bfb |
|
BLAKE2b-256 | 7a0d81bce0a7a611dd6f789531e6d2af6de4fd3ee4718c1178dbd4b764f6800b |