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.144.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cebb514a2a3747cbcef63fa38fc0623dd0604bc0d91de0652081675f5d60df8 |
|
MD5 | 94945e88115e5ba66db871d3c5a827f2 |
|
BLAKE2b-256 | 9d41e14fa56c096358d6a1cf03e9666e393a031603cc17a41b16ad90eee2418e |
Close
Hashes for cdk_lambda_layer_curl-1.0.144-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05841afaef68940eb1046fec9a9cb68754748dc5902a246c63d9738e65ee523e |
|
MD5 | 9c47b1c16f1eeecbbde5927d51b3deb9 |
|
BLAKE2b-256 | 4da48ae64749285d5b216d3663a88b6b102d8a056c4f0b2ba97b080837979ac8 |