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.785.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75681e7f8723d53673754645036c0e587dbda36aac1c256b501584c882cf1e1f |
|
MD5 | 21e037452f58491a79fc494b500a6714 |
|
BLAKE2b-256 | 6783169595081ead02e73eafe6514042f8dbee49269a60f740c1e47aa727e3a1 |
Close
Hashes for cdk_lambda_layer_curl-1.0.785-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8903fede02942b619980763ae261479b6b7b369bb651d9d09ae0871056e94a3f |
|
MD5 | f2926ede4b10c46199353cb94ba240d6 |
|
BLAKE2b-256 | c9c01576b6a51f735cb8303a4f1e26a5df77809a7b1d142fe23bc908dc5cf0e3 |