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.782.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f5f0e2c4bbbf83c48db3d8b56e3e843202b224e37c991fee603104668d22fa5 |
|
MD5 | 7d7009b74fe1f99be550a88b5506ba29 |
|
BLAKE2b-256 | ea2f65c6a45ba289cc8ab880f0d0e8760b5b5720dac2fe294b172d1de2df503b |
Close
Hashes for cdk_lambda_layer_curl-1.0.782-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77969178c820891e754f24d707524037532caaa037bf698b48ba3778d1be1619 |
|
MD5 | 0f30d0db4631f1b596a1d995fae8fca2 |
|
BLAKE2b-256 | 571abbb33ad03d21c6858c2f2a57ce9a677a1e1a2fc8fcc1209e46fc12afb763 |