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.604.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0848acd6ab3f8680a628331badb8093ee8e938ca70a64d738eb7732e26f5371 |
|
MD5 | ace79c377d9de1562c9b7379e74d3465 |
|
BLAKE2b-256 | 6b05a6fc94173d3926d74e0b53d58126071b63f19b4764f35fcf74291c4055df |
Close
Hashes for cdk_lambda_layer_curl-1.0.604-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5943e9bcb4080de7dca56a7f0119be5d8b3ac11907799919a149720e86548d17 |
|
MD5 | add5b36521d905024f4fd94f1dad0add |
|
BLAKE2b-256 | 3975739e99ced6aa7eb65fc00d1f1fef45ad369efad7b228ef37807d3658d070 |