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.284.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f589ef843183e13ba8511d2803162684c7c0dfe4186d7cd7f9dcda00bbbcde90 |
|
MD5 | 1fd68d709fa4aa34c6fa24c87c664e49 |
|
BLAKE2b-256 | 82ec0b6af74e8c07bf2d6ff08441cddf4e9efd33baab6cad78065cd15483c05e |
Close
Hashes for cdk_lambda_layer_curl-1.0.284-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a6cd2e690f6f9a52a0b99e785ed14673c4be658210f22da7fb7a1ffe3a257ca |
|
MD5 | 947cb9abb2498f95f69a91bd4103da7b |
|
BLAKE2b-256 | 3c74b7e1ae4c6b3e0085f9dc3345550871f74350ff7e55758e3e13aae599fb7f |