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.274.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a5c75c6c0ab8baa008126765a528009655b5633854e5da216f119f186a40e0 |
|
MD5 | d5b33eb362d6ad7bbe64c5dfc8320d04 |
|
BLAKE2b-256 | 4b5b3502962a72a5b4c7ee8422baa181d4635669d938b47601ab128ee83a7c7d |
Close
Hashes for cdk_lambda_layer_curl-2.0.274-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae0d859c5736a8c6db2e51a5fdb549a8f9eb5f7c297c55898a34ee8cb866a786 |
|
MD5 | 776ebf34b0256728a336d7587a6b30c8 |
|
BLAKE2b-256 | ee7ef5d077295c1b7bcfd2f6a71958b22107432d450edf037887bef07660a715 |