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.525.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7a95e24f4a0f645b18aff829601070ada817f7984d0f52a084a957958237053 |
|
MD5 | d843d13ad2da140161b8ea74a0deac87 |
|
BLAKE2b-256 | ec2b35cb65462ed61d4561b965ce93d98ad12b6b9ae7241e082a21112fe8cf82 |
Close
Hashes for cdk_lambda_layer_curl-1.0.525-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68643e827f768658b2fa131170579ebcff13311ce275a4289fefd76afbeea9f2 |
|
MD5 | e5c1c0987cd79cf2408e1b0f1fc4c1ba |
|
BLAKE2b-256 | 7205204cfb3692be8c6df0107b442db2b24e6bfef203ce980a32084d71dcd861 |