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.178.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 725aba0259ce107ec3b76e5ea47674ed3a45c33f9c85079af243af649729c4d0 |
|
MD5 | 74cbbffb5ca11a5e5041fdaf0c9c9e7d |
|
BLAKE2b-256 | dc438ba1720391df68c16781c1045a8e838db6a48bee8f373f91211a102d9530 |
Close
Hashes for cdk_lambda_layer_curl-2.0.178-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 984edfd75ded8267112f3a51667dc5fbecebc8412da267fc8110752d3efc7894 |
|
MD5 | f9af29e838ed661aae19318443512523 |
|
BLAKE2b-256 | 087be98a79cd3e26150b1b0cb6d5f52b9863c59cdb3a2408bc5e8d5cb01b36cc |