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.676.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 134938fe01b1ff8071dd6c43b2010efbbb6523693b260d40feb2450844ba14d4 |
|
MD5 | c16944bd3a92117a65b7b651e0a83e82 |
|
BLAKE2b-256 | ca8bca25908adcbf67b666e0430c70d138e16f783393fc24cc40121fddd41808 |
Close
Hashes for cdk_lambda_layer_curl-1.0.676-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df60f5743509fde70f892f5c5aea894ec382c05364549c9c2368ce711a69551e |
|
MD5 | e7ca77b0a823b0a2e80a56b41dd34012 |
|
BLAKE2b-256 | cf669503a5aab0db242e1fbfa64d8e02622ebe6216e34c9f6eae445c29c055ff |