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.543.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a242d986ff6a5ca3c30bbdc579318a66e97e05ae9ad0a146bc2a0be464d538dd |
|
MD5 | ab7e9a3556b28f12554abeddcba6c3e2 |
|
BLAKE2b-256 | 74e55d7cd2a90ea01fe15ea1b4721f5b87c5292249455181672264f78e98664c |
Close
Hashes for cdk_lambda_layer_curl-2.0.543-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82a4aa888bb392098dcb10305b779418c9e111a105b6373d55c330f225854bcb |
|
MD5 | c9580d36f52e2d3880de6c419b6d16db |
|
BLAKE2b-256 | 901003f506aad0fd3d7852cb3e0f2fb92bd939c1ed71ef50087c01252cbde8e5 |