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.284.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31acc9db44992f1e5e0e35feef6eb3368b395b6b2a8c162a6bda956cd0d02c4b |
|
MD5 | fcdcaf818c7f7f7def86580cec3ea6bd |
|
BLAKE2b-256 | 018ac44b52e17508d4f800d127c4a71724fd150daad4fb28154f5effe5fe85ca |
Close
Hashes for cdk_lambda_layer_curl-2.0.284-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 893d939552d1116976d74e773126cd758aa7e2b69b0d4dd60ec1f00844165328 |
|
MD5 | 73b87ccd93a555b1ae170e0654b0f8b0 |
|
BLAKE2b-256 | f4fec5770295511bbcb62afb531e95b876521a21c01cf212a00934afd5011b87 |