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.198.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3574f6e2c8cee690f208247b9baa3fabfb9065712c130af60e2fa30b53881e2 |
|
MD5 | 423ead3cf32a48f081077a73b400e937 |
|
BLAKE2b-256 | 1d5f94569661c20202408702f28eb60fa7e12b422fcba50f00313ff734cbea59 |
Close
Hashes for cdk_lambda_layer_curl-2.0.198-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 257ef6852f0742368cb70f001ccaadfe080b3bb255f84508430aea563c9c16e2 |
|
MD5 | d58ac1ea1f70849909219a2884d83150 |
|
BLAKE2b-256 | bc4682401790e80bcab959df3d3315e829e2e3deb71186ea2ef1a2757d264734 |