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.458.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76005484c5435bf233eb978d91ecb67ca66b2bef3fc742ff6ea609e7c9b651d2 |
|
MD5 | 7f7ee2384be347e2e3126aacaad78ec2 |
|
BLAKE2b-256 | 5f01599eac97f55be7cdd28576d817dd59f9ae7c8641ccdb64ae1347fe126b6a |
Close
Hashes for cdk_lambda_layer_curl-2.0.458-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62de75fba90be01b5d46305ef4c0155b06325627428a4fc72549a3a588195bd1 |
|
MD5 | dc49f590972d78dd242fbbbe5d1c6449 |
|
BLAKE2b-256 | ce4c184400ef807fb22408c4ce80e66e9441fbe5d15804c457b0465214899577 |