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.375.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f853978e2db8d8b3f85c8ddb361b3bb91e9104ab56ac955cbc53c77ca25585f |
|
MD5 | f89aa09cb222f8b28b21e87ecc124387 |
|
BLAKE2b-256 | 6685eb6fae66a3c655655b08aab89afabfc4489134ec384a3964ffb23eb9cf84 |
Close
Hashes for cdk_lambda_layer_curl-2.0.375-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef42d21487ca5d6a33417db3e7db1f7cbbb08ea60196bea9d7b214608a7e3c44 |
|
MD5 | 1c5ba18ff582833d96a21959698c7d30 |
|
BLAKE2b-256 | ab372c55d43f6b04c7294235e7b3b36255f147a7bfa624c23c96b3acfd15ead3 |