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.149.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddddabcbf0fb15cf9b07ac433801185a01185c920038c9152bec65c66cdb51f6 |
|
MD5 | 40a3b9d8c5c6fe14a36283394447fd6d |
|
BLAKE2b-256 | 1c1ded0b30ad132e6217b6ffdfd2e610e780c43985d4725e4993eb49f507db31 |
Close
Hashes for cdk_lambda_layer_curl-1.0.149-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40f83ccc4a1164d3ef2620c63c653b851c9fc93213ca7465dfba08d954330688 |
|
MD5 | f10af0ec9918b6102de228bc8416e47c |
|
BLAKE2b-256 | ca20b10644ea20b9f75daef1457148aade3386abd580a25d26ca3b8d7987851c |