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.383.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 653c69c02c81951baded0d41b69754e30295463ec82111a48ac7a8bad09cfd38 |
|
MD5 | 8270079880cda0f588a7e181c3f8c020 |
|
BLAKE2b-256 | 023d029a60303ead5730c54f7c403302a18c5ea7d87155e406a79b6c9908df18 |
Close
Hashes for cdk_lambda_layer_curl-2.0.383-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1317f3f8e885509acc5e5dfe29d893e05798c59ccf7dd05aab52f2e37aee0d1d |
|
MD5 | 404fff0046573e8e18861e67e22ab5d5 |
|
BLAKE2b-256 | 347e025202abc00b12d0dd69dff17d60867a93231386da5245e244938cff74cb |