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.675.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ab13f17c3e7f363b6833a42fa1e84e7d59ba73d15fd0ef257f27bf4da1ad125 |
|
MD5 | 5f604e2cb2bbf5d035185a922bc4c795 |
|
BLAKE2b-256 | 45a53302185d404d8a5a744ebde15064360bdd6137e0f28ad95ef95ebedb3b74 |
Close
Hashes for cdk_lambda_layer_curl-2.0.675-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3bc747c5178c9abb914434a9768abe57e32974f7d54e11ac97f0b304fce5f61 |
|
MD5 | f154c3d38da0e15921e4bfe70b96a7e9 |
|
BLAKE2b-256 | badc47bfc5a512e960d74f24fdc58bba8669e085248522b72f4ca874b3142e77 |