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.445.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1903b0e6648b72b557c7482fd3efaad356ca1cde98809dee0f97a3829212495 |
|
MD5 | 9ac8ff4f74c9e7a4ef6797d12bf6d8af |
|
BLAKE2b-256 | a8bf4f122a1ae4267e769778eb23ab9b8a58a30ad948042fe30a2583dcb0089e |
Close
Hashes for cdk_lambda_layer_curl-2.0.445-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06dabc239cd499f83bed71565ddd04995ff8cf546d79150aef0ac10ce9d05a60 |
|
MD5 | 3296d05f99482fe3072bc89e3eaa9749 |
|
BLAKE2b-256 | 7333a053608378c41a160dbc38f5d2fb5b36b601c00b87918ffd6f348a2cadfe |