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.528.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0620ca06ba274361f1c08c4c38e0448ed3185556ad2bd202a750c14526d53202 |
|
MD5 | 52f1ecc42b297be90da8a8f4a544cec5 |
|
BLAKE2b-256 | 43e59916416dab202d96178e29105b1eb89c039588a748cbfd5d38d2050be456 |
Close
Hashes for cdk_lambda_layer_curl-1.0.528-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81cf3b6d6f371d7f8437aaf50582f678874a93d7a8c7ebd9e7a8c1d6dfe75c3a |
|
MD5 | 5269e449ee1f451b0cb947a308201e9f |
|
BLAKE2b-256 | a53a77d39b9fd6e6d8d0eb1164b642aedcd874d98412576459cde8284eaceb60 |