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.282.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63f5cdedec5189f9a2883f7bd6793770db5ae541b934fca60735bfbdea4ea58e |
|
MD5 | 2067b2e184fca0cb576b66b0708c65ec |
|
BLAKE2b-256 | 27613b026ee653e41e2d51e6cfd590ddc364b6432dbb2acb78d7114ef0bcb650 |
Close
Hashes for cdk_lambda_layer_curl-1.0.282-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a508c7bb542819801e759c50702436a0f3836a36ff66b9d52ddfc52beac1f164 |
|
MD5 | 715b461f1a8e56b292529e5c6dc81fdc |
|
BLAKE2b-256 | 63571624288ea94c4e3eea645320fe32f094eb384853055033c57a12dd4fe04e |