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.600.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c831478d8d169c6ddf14aca73b6af461512676cf449b5b60d09ad39541370e96 |
|
MD5 | 8d535d5712455e44e2356baeea658f59 |
|
BLAKE2b-256 | e3f3efd5468b575c28d126642bd26f6b3bf798e4760ce2368d08ce31aeba26e6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.600-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93a37ed5d09fae7a952c1a7f50d568066bf77f6b615157c6d0d58012b68c8345 |
|
MD5 | 2b4f10bc5057d26dfebd0b9d712fd3be |
|
BLAKE2b-256 | ae645f35e2c80163a728960489e3e77c60a20fd7db92965eaaa2c37b2c3f13ae |