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-1.0.553.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c710350cfc506788e566c236a200964498e7d7d8a19769fbd1a0e9b0028e3c |
|
MD5 | d449aaacd9e935fe2ea124829f32ec6d |
|
BLAKE2b-256 | c736872140a5869c5cc6755afd10c8ec92695b3683fbf64081786a3cbde6c04f |
Close
Hashes for cdk_lambda_layer_curl-1.0.553-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fbea1bf19ec09ce7851f810a6a1fe6f0592f60680f5c4553bf82b9d4aaa73a2 |
|
MD5 | 446d31a23fa88f7482911b9f4b9d66bc |
|
BLAKE2b-256 | b9302046cb71da73c8a61c16c30fe0be5fad4aa3a1b89c08eaea77dbe261ebea |