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.740.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 862f6e74ea62545d12ae7301d386b03ac0b5d611fcc2d99cef661bc8b73de1bd |
|
MD5 | 4aa26203aca469f3e49c17b77bc4f192 |
|
BLAKE2b-256 | 592d437ee6358d91541c2396b97f05d872337d65c5c57989507ffc3d0c6c958e |
Close
Hashes for cdk_lambda_layer_curl-1.0.740-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a6f4b3a796697e610d287da19d3dc392419b2ed26dadaa229f175e6fc7ec85e |
|
MD5 | 9e039ff270a27bf4489bcb50d708fa9a |
|
BLAKE2b-256 | 4383cf9ed2b1fd5dac95570087b360f241d407852d89c89a39a9e47127cfb341 |