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.174.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 571472f780d0aa09807f36e5b0d5485c28179f42a523602a80ac98f4739dfb92 |
|
MD5 | 9560824b003b16fa476489df302a51fe |
|
BLAKE2b-256 | b7aee53f8a0669c3acc8264263ecb118f497851f513967412566c47ab5a790a2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.174-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4597cf0e2330f31cbe052cd7ee38acaae4608b476592717d94681b501b8088c1 |
|
MD5 | 98a8c8997477413322ef222830c13dc1 |
|
BLAKE2b-256 | 1056a5de0ba3f1818cdd8b86e417a35b4fce13971b84ce1d5470a109bca68313 |