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.211.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26224ec6e724c3557386b60dc4401e6238e4c1e49840c245cf5d97b65f9c6041 |
|
MD5 | de56a5095a7144503eae80dbc6cc86ee |
|
BLAKE2b-256 | 93dd787e8be7efd01fddb8bec2932fa7ab0cf3ca537fe7c146086e29d6b41803 |
Close
Hashes for cdk_lambda_layer_curl-1.0.211-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3efbadbd92e2ab22c85c242104f201387be803d754ca4a253eed28a2f7d89ea4 |
|
MD5 | 32083c3167d5e8feb18a2e4ef729809e |
|
BLAKE2b-256 | eb67c5a60e4877e7e5aa9ec1c82c41344c1836211bc7721cb2cdc46110ae785f |