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.99.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12fae58813da22240de9157959ad73ac4dfee0421c60f9a8967c604103b06d2a |
|
MD5 | 3b6c2b5408fde834fae2523d3e85e012 |
|
BLAKE2b-256 | 2e029e7ab6bc6191e2cbe6705c1530f695ed00527096133668b731e72d6a6445 |
Close
Hashes for cdk_lambda_layer_curl-2.0.99-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd08b5c5c53435871448741439a02225b4f9f900db3e6b1c2a5496ce1fdc7b49 |
|
MD5 | e8f88b643911726fc5560f0770ecc7f9 |
|
BLAKE2b-256 | f758ffad294ae303abb91d7b74bf70cb27d3dcbd150dd2c7a61cabfbbae982fb |