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.414.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7095b59b765b9ba1c633745dcbd74f5244224f69a70a37fd470352996f3044b6 |
|
MD5 | 81f3d8d7fad30d3331fde74eec515713 |
|
BLAKE2b-256 | 12ee00386cda7d5ca101d55525eaf5ee69c720e555a54f3eb2cf6267ef8002bd |
Close
Hashes for cdk_lambda_layer_curl-2.0.414-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf1a7802f0721c937c2d0e5ee2921e96209c5c23847ff2378e7658025f94f34 |
|
MD5 | 8198adc9b2454f6077d361cd034a0bb0 |
|
BLAKE2b-256 | d1b1f4b91d457916e22c62e91d4c480508b452b4b5322aa54dd9627b754c25ca |