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.367.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3e490416970126463636b894c5e9064a4fd40f122abda0b34e00892d5a6db53 |
|
MD5 | 17a3c388b4b022f271cc22ee09432626 |
|
BLAKE2b-256 | c87e1004310d3eb3195ff8b0c255ec2e5482f66187e6206f3435249380a479c7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.367-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9d089500ce80d7fc13919459f0d2f3e1b03112111d7031bc6ec561c56387fb2 |
|
MD5 | 1475d35b82028250fb368e28adf3f8b1 |
|
BLAKE2b-256 | ee3c100f817c8d877c821e2b028c4d8c1ecc10ceb80351be123f69bb21818941 |