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.637.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d56c74e343b10413072734995d81a193725b65380b27c654e6e816abcc7aa04 |
|
MD5 | 7fc54ffec80c10e84dfe69640f9a6397 |
|
BLAKE2b-256 | 8624431a1aab8d1b33f2ed7e575f8cdd29a42adcdb10055a8730457835d029b6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.637-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0468a4a2fa7ea81ebefc5f157bb50e5a0cabe566f1fc582fc2c8c4a057f736cd |
|
MD5 | 4454b5ec0d108b31c69668d0274cb884 |
|
BLAKE2b-256 | e74b5c82ae106393ebb26eefce7a75b7654ea226887bd97b67d09541d5adc4d4 |