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.488.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa7a2cb6e355080e5a3eb3121490cec2657a4098fed09950568b72d001beb9da |
|
MD5 | 13198125d58b48626091d843938257d3 |
|
BLAKE2b-256 | 7c71864d3c2fe8d2025c26cb936bdef02e712d9074d4a15588bb9cac4b3efc21 |
Close
Hashes for cdk_lambda_layer_curl-1.0.488-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 856b19894c6d625063e55b48aa979d24d028271013f96a6e93e7ca51e1f7ec02 |
|
MD5 | 9a3948099d8d762662bb758ec8b8f650 |
|
BLAKE2b-256 | 965f569fd526b926aaacdcd89ff5d122147d31ab15e0ff56fc7d8aa1d54de1f8 |