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.280.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56584525f5bf110141f1595bdd2802276b3110133f1974dc9bfdba25c4a3e1db |
|
MD5 | 1d094474dba8cb1faed83d896726c6d8 |
|
BLAKE2b-256 | d3836fad87fadbea65b9989804ad3df0ec961d2fc3e4c0dff3c4c9d67008a4f9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.280-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00a698cf732f7e1b37639988b65ad76e0bfaafdd82847d71b5981bbd99e6524d |
|
MD5 | 37afdc5ce8cf7b14dde0dfb93eaf93d5 |
|
BLAKE2b-256 | 0df51e00971071bad90d39519beb84a4935447f8a98bed6359c05a952af5585d |