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.63.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e07c361422740f086717eadfca5d7cbd9ac4145671e0166fe4460d0ae6c906f |
|
MD5 | 8b426fb0823b0ab9630efe878614469a |
|
BLAKE2b-256 | ba7563919f429967f5a72c0dd932dba25b9c52bec7ad70a51a596f6657478a12 |
Close
Hashes for cdk_lambda_layer_curl-1.0.63-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f058f9d62556080ec3d28297b2d522fc2bdeaa0b8e6a63eaa6b7895e07d7d773 |
|
MD5 | 26f8a33f157ef2a28db684d8438256d5 |
|
BLAKE2b-256 | 248a33eac05a504822cde3c92b235794f2855fda50689b8fcca075732e0680fd |