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.346.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67a21269b6f00ceff4e40759584f430c5c2a3912617a7783785975d4106f389c |
|
MD5 | 7b0a7e31ee45f8c709d7ffbc19e1140c |
|
BLAKE2b-256 | 9886f080085d8274f2c26b8bac95862cba2fdce42c560fd40f77cb3b36672ec6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.346-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5e9970a547a8fbc85ae7ad20e7eef31acde8873cd4568ed14eef5c572fdd788 |
|
MD5 | f1c7532e0b471acd0948b224ae126296 |
|
BLAKE2b-256 | 252345c9b302cc8e6c8780300c1b63ebfd086f003f36ae6a1f91153604aebffc |