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.618.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 730f73b2cb2a152ae07415a50b9b2fdf1892aeae7fa13ad5b0dd0281f45858f8 |
|
MD5 | 8deab3b925860b10a75289c7265e6c4f |
|
BLAKE2b-256 | 45eb8df88f0ebe926479cc459c324a25ac19c5ff080025330b311e44c52fd0f9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.618-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc93bb7e727f7bbb57c533e9763f5fc78a756d4eb8b3037ed572fb7bdc34e446 |
|
MD5 | 5aa5a2e1509aad4c3dbfeb0abfd9ee10 |
|
BLAKE2b-256 | 390490e3f4832f6cda0a3e66b835b81fe460ed65efde376adc5af4abd35da76f |