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.234.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6fe3fb674c3d9178d8a121022c08c678e0384992913dc9fe06e69c0a2da0558 |
|
MD5 | 084b227bb0f44a3a2e95cdea6c8fd9c3 |
|
BLAKE2b-256 | a2c818c229e08cdfe1ae371af4c6094cffff6847326c743b8c4ac4382d225089 |
Close
Hashes for cdk_lambda_layer_curl-2.0.234-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23d521d56ba3a10c4262adee16aceab3df431de18022ae48115e051c8a95ecab |
|
MD5 | 2c72776ab10772058b8e3b6620d4e2a9 |
|
BLAKE2b-256 | 3963abbaf05aca1bdb684f9462e245ef15a65e3bef2adf80a2be8bb651d26a1f |