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.207.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3ffca7c9d3f3b19359a04f4c68f9db3d958a1f89ee7380a1cdbd1a5a2e9fb90 |
|
MD5 | fbeaa8c5ed6b4d01203066b17fd38057 |
|
BLAKE2b-256 | 9da45188f072e509d990b6f95438eb87ec250ae8ed88f2b2cec106d84f6abfbe |
Close
Hashes for cdk_lambda_layer_curl-2.0.207-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a469526e76a1a04fe6f1e94c9fdc4f1ed42a9301c9254cb6e56ae29b97477a4 |
|
MD5 | 6358631b9728056abc4e9a1ec0b171b2 |
|
BLAKE2b-256 | 78aacdbed93ea9f363761eb6fa81ecc8c0b29223bda409668c528c07c6255168 |