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.42.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d7a0112176f3662f8157945e485f36c1c9aad7516fed7c7f22319620f15b2e8 |
|
MD5 | 3f33a1842fd9ac348e1eee91fdac3f98 |
|
BLAKE2b-256 | f9ed7791c183e6cb33776311ca2988bae771a766ded358ab2e6c023ce236c7d4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.42-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 807bf62e58b4e00e3911fe785eb07e7c99089b7290503aa9609035aff2b95edb |
|
MD5 | 490e9e907a52b8e546014e256b172432 |
|
BLAKE2b-256 | acd905d032d43a9fb665320c390c455355669285dc743f52565b8a7ddc7fe363 |