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.697.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c67e18d1f760ad70fae5367b23195383193043e0021f9bbc24e4d93addf4f1e5 |
|
MD5 | 6c39e4a253e8b73c7e1ae557c34b3314 |
|
BLAKE2b-256 | c335c5c92caa5491c2ceb044c90c7b5c086ad42230257d08e52c3a5aeebbebda |
Close
Hashes for cdk_lambda_layer_curl-2.0.697-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb29dd92ab0b65bc30bf097f3136a879a9ca0efc936db963a2b0002b7dd12fda |
|
MD5 | 4fe08f290045dd0e37a545f8e017c9a0 |
|
BLAKE2b-256 | a4d49e43d317d02a3017b2f1178614e060fd9aea477db4cf08ed1f762b1b690f |