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.442.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c77390971af4037cfa6b444952414bb8ae9ff2b32e61ea1d264edc6f1bf08dfa |
|
MD5 | 628d1761eeadfd28052ecd83b386cd2d |
|
BLAKE2b-256 | 09e0f5c7ca3ce1a9126b0040826f43d151bcac19b6d6af87895c90c7f315b1f8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.442-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f6d8be3d3b01273b5daee2e14c877811eb0dc37fd2c3a7df96699d46278ec48 |
|
MD5 | 64a1757e7e416906d10afdd95edd1d0d |
|
BLAKE2b-256 | 6a1e505857cd3782401dc9af81c9c8bde4cff2b723fa979ee782b76b390e8ecd |