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.147.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | acc30b5bd1178ea0f255392648a8510e56970138eb7d7aa158f2d93914d7ab89 |
|
MD5 | 978288a21d1ab08571cd8340c6b72e4f |
|
BLAKE2b-256 | 1a543fe6e94df60fdafe2959895377aee2e62317f93697ea563a40c188c739b6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.147-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a91dc7ce08180f5a372052c712d8965ada2dffb1ba084fe9fe27b4fb7d62c5b |
|
MD5 | c6af9426eec6cd2718159bcc03ef0c98 |
|
BLAKE2b-256 | 69564643e1a6c5f2a94e8f9e3a22618e9b966f3362831eaabc1d41061046b0a4 |