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.803.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3904ca015ce1c1d5ada9aca42f0078954f03e05e3ed966d69eab7bef6f45ce43 |
|
MD5 | db2c7d5ba716da540429a825ba620d9f |
|
BLAKE2b-256 | 03f23dd87e55bcedc63219230d5733d87db8f40ee663a8522b60caba10ce83b2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.803-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec9a57c0a667f05037f8f02c95302c7379a47f0cafba67c4467b4fe80cc2745 |
|
MD5 | b79be718d55594b1478194f604014e78 |
|
BLAKE2b-256 | 1f83c2fc10b0dd83503294912e154777017ba773ebbc66c645d6546d0ec9fda8 |