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.410.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f25fe8b525fb50747207ff4f6451c3c898633cbf1e0e7a30d929dfe215224100 |
|
MD5 | e533d1cbc493086a4ed8327a7d425b29 |
|
BLAKE2b-256 | 133313be2468ad6330875a251ea7d6b7d0b9b1f9d9ae53212c53e14d587f752f |
Close
Hashes for cdk_lambda_layer_curl-1.0.410-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf786dab7e8d61d36ac703ca757162e1950e6f3d5e8d9d3a03817678f284199a |
|
MD5 | a5d06b6086c3668b3496a144575bf5ba |
|
BLAKE2b-256 | 8fa0fc3b875ccfa85af01f6533514f4aaf0aa0e930b09db4e31e14aca8a679d6 |