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.361.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74f7915fa7ce511bae275b626f93fc551bb05cdfb7d1392fb05224c2870903e7 |
|
MD5 | c67561dd56859f15d098b50694bfcf97 |
|
BLAKE2b-256 | 4e472a40fe57dfb53159aad04740cafe01cf6b1ed51d3fb99bc4e000d527d811 |
Close
Hashes for cdk_lambda_layer_curl-2.0.361-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f91b6bbbe57ff4582327a414e7862d9ed964fcb05148a71a4860187706c1ba1 |
|
MD5 | 525105ce26d122ef0f4b7cc17336f0c3 |
|
BLAKE2b-256 | 0b6a66d94da6415fe159112de43a10536a0763bb04ee0ac5fb912580465a28ed |