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.775.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb9c0002a2ec168366ddcae2b08049b6f9cd3452c9155364efbdd677106980db |
|
MD5 | 2efd7b6dc39142f5a995a6e2f939ff6e |
|
BLAKE2b-256 | 0f5d5b72c85e3b11dcf9cf9264634373e5ef366a88117632f39e1866cc603c37 |
Close
Hashes for cdk_lambda_layer_curl-1.0.775-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef9c611c943db466b50627354385fdbde3d20c32fe38bd7d7d1595d5f5f4df66 |
|
MD5 | a0390aa31085daa154d5e0fc875bdc48 |
|
BLAKE2b-256 | 16d07e7eeff0b44f798145294ccf6b6840f96904db99270e66d0a72ec6c0b595 |