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.288.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4606d338652898aec1bbd9142753b25ef2487dcfa679fdbf06683d134f17b717 |
|
MD5 | 4d28004964b8d9eb1abccd72233eda4b |
|
BLAKE2b-256 | 57b52163884075a387cdfa66a9ea697dcae3240ddd26ab77f1e6a8763aaf7efa |
Close
Hashes for cdk_lambda_layer_curl-1.0.288-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aef7795a29563116ebb61ae9cfd7b973a635546a8cb0deadd7173ad65a852581 |
|
MD5 | 76254489b72a2d48bc3a5bab2e513319 |
|
BLAKE2b-256 | 00d464bd9593f63514136a833a6f2ed1e940050348127fce0c16d00ff5f13907 |