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.35.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42e2bc2a0dd1c0078c8e0086c2e4de358662127b867583843596de6dc031f80b |
|
MD5 | d152fedacc904a2b7716dc88a7509e75 |
|
BLAKE2b-256 | 7f0f8727a15fe4b2cbbda204da2e58145c9dd53b6461c135e493ac351b9564f5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.35-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c0562ef8f584ef0718175792771f3cff2e7f0a36c8127a21bf46f33dd2c593 |
|
MD5 | 223f5ad488f282e624b477a01f5b3d66 |
|
BLAKE2b-256 | 268496fd5ffc69d2a08c679b61d755e6e581952cc6fb03b814d1cfb90b47a323 |