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.224.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a75b748c8557b3fb9f8660f8b92c06eedb4f164f39d122449b1dfac7d809bab8 |
|
MD5 | c3ce1b9a2c846779b900686bfcdae0c0 |
|
BLAKE2b-256 | 638074b646080ef54e40d440fd846523464e47a60560f952ee21cd1751aa853b |
Close
Hashes for cdk_lambda_layer_curl-2.0.224-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d077f8a0a7dc5750c91bb92c1a1d511cbe0fed0bb5afd1b6a2172055231ecf6 |
|
MD5 | 499cf98d6db820e69cd0884279efe5f4 |
|
BLAKE2b-256 | 4c9b2e8507148441c935c9df4408b80b34562fc6feb4ea672ece3bc1a0551671 |