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.485.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9172ef75cc3a3f3f638efe5e5e43fda2e34a1ccfef039a457f451ee5dffb213 |
|
MD5 | dda77798327a7537a7e26a13312bb93c |
|
BLAKE2b-256 | a6899a8c8989db2bfe50704aadae2c85ae9ebe79dfb3e3d4c82d1d87bb110796 |
Close
Hashes for cdk_lambda_layer_curl-2.0.485-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03097f71abf410f575b38a0a1b05237c7ce57e7b9f92003d75fd3d1b4a0dca43 |
|
MD5 | 6ac629c0108a7a03a2efd822886eaa2c |
|
BLAKE2b-256 | 3890d81a0c9a7220112f58649a3a9074db6ccee70abcc8f8716bf2480fc8c727 |