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.759.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c277514e7c90fc23120b4522197a78ecb1605841e2c978871c27e6e4acf29165 |
|
MD5 | f1c74591fee0ff8f57e3f9383d8f3db3 |
|
BLAKE2b-256 | 939fa9defde5248895dc37a812135b4feb8acd584aa92f7f06d77f0d775878dd |
Close
Hashes for cdk_lambda_layer_curl-1.0.759-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 971ffff48a90bea1e303f22f17e9ee3752d4a83eb18a3145ac51fabf3842d588 |
|
MD5 | 3d286a8c99c8b8c146ef12320fe0d4f6 |
|
BLAKE2b-256 | 5b270e4a58ab4a69daa6024a5c5f9755c1f4c047c4e2cc3deb7a6410cd3efe96 |